Created
June 24, 2015 01:11
-
-
Save ferd/c8a3303a04e4898be7ab to your computer and use it in GitHub Desktop.
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
1> [spawn(fun() -> io:format("~p~n", [random:uniform()]) end) || _ <- lists:seq(1,10)]. | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
0.4435846174457203 | |
[<0.41.0>,<0.42.0>,<0.43.0>,<0.44.0>,<0.45.0>,<0.46.0>, | |
<0.47.0>,<0.48.0>,<0.49.0>,<0.50.0>] | |
2> [spawn(fun() -> io:format("~p~n", [rand:uniform()]) end) || _ <- lists:seq(1,10)]. | |
[<0.52.0>,<0.53.0>,<0.54.0>,<0.55.0>,<0.56.0>,<0.57.0>, | |
<0.58.0>,<0.59.0>,<0.60.0>,<0.61.0>] | |
0.4866207225497589 | |
<shell freezes> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool, thanks.