[Top][All Lists]

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

Re: [PATCH] Allow exposing of random number generator state

From: Andy Wingo
Subject: Re: [PATCH] Allow exposing of random number generator state
Date: Thu, 22 Jul 2010 18:50:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Sun 18 Jul 2010 18:01, Andreas Rottmann <address@hidden> writes:

> Here is a first version of the patch to add an external representation
> for the RNG state (needed for implementing SRFI 27 "Sources of random
> bits" in terms of Guile's RNG). I'm not quite sure about the naming of
> procedures, both one the C and the Scheme side of things -- suggestions
> highly appreciated!

Great, thanks!

There's something still that doesn't feel quite right about it -- that
the docs don't define adequately what a seed is, and these 'external'
values serve a similar purpose -- but oh well. I thought about it for 20
minutes or so and couldn't think of something better.

I replaced "external" with "datum", in your names. It felt better. Hope
that's OK.

In the future would you mind making a few test cases when you submit
bugfixes or feature patches? It is a pain, but it helps maintain Guile's
quality through time.

Thanks again!


reply via email to

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