Welcome to the CHICKEN Scheme pasting service

superior initial seed, maybe added by z. szadkowski on Thu Dec 29 21:44:17 2011

;; currently C_randomize(time(NULL));
;; in initialize in runtime.c

;; possible alternative:

(define _spseudorandom
  (foreign-lambda* void () #<<EOF
    struct timeval tv;
    unsigned long junk;
    C_gettimeofday(&tv, NULL);
    C_randomize((C_getpid() << 16) ^ tv.tv_sec ^ tv.tv_usec ^ junk);
EOF
))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which one-argument R5RS procedure returns 1 when given `'(1 2 3)' as input?
Visually impaired? Let me spell it for you (wav file) download WAV