Just a thought... which of these is "better"?

Steve Davis steven.charles.davis@REDACTED
Tue Oct 26 01:01:25 CEST 2021


> rand:uniform(0).
** exception error: no function clause matching 
                    rand:uniform_s(0,
                                   {#{bits => 58,
                                      jump => #Fun<rand.3.47293030>,
                                      next => #Fun<rand.0.47293030>,
                                      type => exsss,
                                      uniform => #Fun<rand.1.47293030>,
                                      uniform_n => #Fun<rand.2.47293030>},
                                    [287343104968817679|100345946487370353]}) (rand.erl, line 326)
     in function  rand:uniform/1 (rand.erl, line 299)
> random:uniform(0).
** exception error: no function clause matching random:uniform(0) (random.erl, line 119)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211025/3d3764d0/attachment.htm>


More information about the erlang-questions mailing list