In your Random.map2 you're calling rMines and adding that to your model.
Then you call rTargets, which calls rTargetPoss which calls rMines *again*,
this is a independent rMines which gives you another set of results. You
use this second rMines to generate the second set of (x, y) which explains
I think I'm seeing some unusual behavior while generating a random value.
I'm trying to sample multiple (x,y) pairs from a set of available (x,y),
and then sample again from the remaining pairs. The final set (which
shouldn't contain any items from the first set), seemed to contain items
from t
Not using Cmd does make (!) far less useful.
Mark
On Sat, Aug 27, 2016 at 3:14 PM, Mark Hamburg wrote:
> I'm working on some example code. I'm varying between a moderately fleshed
> out example of the plumbing but with little backing it up and a fully
> worked but trivial to the point of not be
I'm working on some example code. I'm varying between a moderately fleshed
out example of the plumbing but with little backing it up and a fully
worked but trivial to the point of not being interesting example. The
general model, however, works as follows:
• We have a service model and a client mo
Auth0 also has a couple of articles here:
https://auth0.com/blog/creating-your-first-elm-app-part-1/
https://auth0.com/blog/creating-your-first-elm-app-part-2/
torsdag 25. august 2016 15.36.58 UTC+2 skrev Rupert Smith følgende:
>
> There is this one but its elm 0.16, still very useful though:
>
Elm-hedley actually has a branch with elm 0.17
- https://github.com/Gizra/elm-hedley/tree/145-port-v0.17
torsdag 25. august 2016 15.36.58 UTC+2 skrev Rupert Smith følgende:
>
> There is this one but its elm 0.16, still very useful though:
>
> https://github.com/Gizra/elm-hedley
>
> Any others?