[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: srand, rand
From: |
Martin Grabmueller |
Subject: |
Re: srand, rand |
Date: |
Mon, 09 Apr 2001 18:18:58 +0200 |
> From: Dirk Herrmann <address@hidden>
> Date: Mon, 9 Apr 2001 17:52:43 +0200 (MEST)
>
> Is there any interest in adding scheme level functions for accessing the C
> level random functions? I just wanted to set a C random seed from guile
> and had to define my own wrapper for srand. This is probably a common
> situation for people who are linking guile to existing C code which uses
> rand() from the standard C library.
I think it's a nice idea. It would also help people coming from C to
get started easily with Guile. And it wouldn't be a big change
anyway, would it?
Regards,
'martin