Re: [elm-discuss] Re: Random in 0.17 and purity

2016-09-25 Thread Max Goldstein
Hi Andrew, The official docs are harder to change than I'd like, but I welcome docs issues and PRs to my library: https://github.com/mgold/elm-random-pcg Eventually the RNG will replace core's, and hopefully I'll be able to update the docs at that time. -- You received this message because

Re: [elm-discuss] Re: Random in 0.17 and purity

2016-09-25 Thread Max Goldstein
Hi Andrew, The official docs are harder to change than I'd like, but I welcome docs issues and PRs to my library: https://github.com/mgold/elm-random-pcg Eventually the RNG will replace core's, and hopefully I'll be able to update the docs at that time. -- You received this message because

Re: [elm-discuss] Re: Random in 0.17 and purity

2016-09-25 Thread 'Andrew Radford' via Elm Discuss
At the risk of necroposting, just thought I'd mention that today is the day that I first needed Random-ness in elm. After accidentally reading the old Random docs, encountering and wondering about the function signatures that pass the random seed around, having the lightbulb moment about this be

Re: [elm-discuss] Re: Random in 0.17 and purity

2016-05-15 Thread Richard Feldman
> > Elm doesn't have "no side effects", it has managed side effects. But if > there's no Task or Cmd or Sub in the type, you can be sure that the > function is side-effect free. This way, when there's problems with > side-effects, it's easy to track down which functions are causing them, > sin

[elm-discuss] Re: Random in 0.17 and purity

2016-05-15 Thread Max Goldstein
*nonverbal frustration* ... isn't that what I said? it might return (model, Cmd 1) or (model,Cmd 2) It always makes the same command, but the command might do different things. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe

[elm-discuss] Re: Random in 0.17 and purity

2016-05-15 Thread David Legard
Many thanks for the clarification -- the concept is much clearer to me now. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.c