sasa1977 / elixir-in-action

Code samples for Elixir in Action book
947 stars 199 forks source link

Switched to :rand to reflect the deprecation of :random in Erlang #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

Erlang appears to have deprecated :random and this was causing a warning when compiling the stateful database server project. Switching the statement to use :rand makes things lovely once again. (No other instances of :random were found in the book's code samples.)

sasa1977 commented 8 years ago

Cool, thank you very much!