Contribute random wrapper to Elixir?

I haven’t contributed any code to the community yet… I’m thinking that
a wrapper for :rand (improved :random) might be a nice easy place to start.

Does this interest anyone?

Does anyone have an alternative suggestion for something to contribute?

Hal Fulton

2 Likes

We typically discourage simply wrapping Erlang modules if there is no functionality to add.

2 Likes

That makes perfect sense.

Actually I do have in mind adding functionality – at bare minimum,
support for ranges.

Additionally I would prefer to change some of the names (unless that
seems inappropriate) and add a few other items.

Hal

1 Like

Here is my first stab at this.

https://github.com/Hal9000/elixir_random

Comments and critiques are welcome.

Thanks,
Hal

1 Like