Groups | Search | Server Info | Login | Register


Groups > comp.lang.lisp > #60786

Re: Make a random-state from a non-random source

From Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups comp.lang.lisp
Subject Re: Make a random-state from a non-random source
Date 2026-05-05 16:03 -0400
Organization A noiseless patient Spider
Message-ID <jwvy0hxhbjr.fsf-monnier+comp.lang.lisp@gnu.org> (permalink)
References <jwvmryfku8t.fsf-monnier+comp.lang.lisp@gnu.org> <86pl3a1n3a.fsf@williamsburg.bawden.org>

Show all headers | View raw


> That what you are intended to do.  That's why implementations are
> required to provide a read syntax for objects of type RANDOM-STATE.
> (See section 22.1.3.10 "Printing Random States" in the hyperspec.)
> Yes, it could be more convenient, but it isn't.

Is there some non-standard approach provided by some Common Lisp
implementations that is more convenient?

E.g. in ELisp, `random` can be passed a string as "random seed".


=== Stefan

Back to comp.lang.lisp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Make a random-state from a non-random source Stefan Monnier <monnier@iro.umontreal.ca> - 2026-05-04 12:46 -0400
  Re: Make a random-state from a non-random source Alan Bawden <alan@csail.mit.edu> - 2026-05-05 00:45 -0400
    Re: Make a random-state from a non-random source Stefan Monnier <monnier@iro.umontreal.ca> - 2026-05-05 16:03 -0400
  Re: Make a random-state from a non-random source tfb <no_email@invalid.invalid> - 2026-05-09 18:20 +0000
    Re: Make a random-state from a non-random source Stefan Monnier <monnier@iro.umontreal.ca> - 2026-05-11 11:23 -0400

csiph-web