Created
March 23, 2017 11:54
-
-
Save leojpod/8c15398a07e7698aba64747373a84adb to your computer and use it in GitHub Desktop.
Support code for the Medium article on Getting started with Elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
randCell : Generator Cell | |
randCell = | |
map | |
(\b -> | |
if b then | |
Alive | |
else | |
Empty | |
) | |
Random.bool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment