dimanche 10 décembre 2017

How does the Random generator work in elm?

I am having problem understanding how Random generators were suppose to work.

enter image description here In the following example I'm trying to roll two dices on click, http://ift.tt/2AJEPKB

but 'm getting

Function generate is expecting the 2nd argument to be:

Random.Generator ( Int, Int )
But it is:

( Random.Generator Int, Random.Generator Int )




Aucun commentaire:

Enregistrer un commentaire