guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improve `seed->random-state' in stable-2.0?


From: Mike Gran
Subject: Re: Improve `seed->random-state' in stable-2.0?
Date: Mon, 23 Jan 2012 05:06:36 -0800 (PST)

> From: Andy Wingo <address@hidden>
>> (seed->random-state (current-time)) seems to be a common idiom that
>> you would end up breaking.
>
>This is a common idiom that is worth deprecating.  Mark's new functions
>that seed the random state from /dev/urandom are much better.
 
Are you suggesting that you'll break the API in the hope that when people's
code stops working, they'll reread the manual and notice that
random-state-from-platform exists?
 
It seems a rather unfriendly way to accomplish that task.

Regards,
 
Mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]