[erlang-questions] [ANN] erlang-rand-compat

Tuncer Ayaz tuncer.ayaz@REDACTED
Sat Jul 30 09:30:01 CEST 2016


erlang-rand-compat, available at https://github.com/tuncer/erlang-rand-compat

The library allows you to generate a compatibility module, exposing
the common subset API of `rand` and `random`. It is meant to be used
as a migration helper in projects that want to run on Erlang/OTP
installations that may or may not have the new `rand` module. It does
this by using `rand` if available or falling back to `random` if not.

Originally written for Triq and rebar, and now released separately after
Kenji Rikitake suggested that other projects might want to reuse it.



More information about the erlang-questions mailing list