Artifact 483d3d1c0b4bb2da24fbdfc07f44a9ca62138055:
- File srfi/tests/random.sps — part of check-in [80c8c83034] at 2016-07-07 18:11:39 on branch trunk — initial import (user: ovenpasta@pizzahack.eu size: 518)
;; Copyright (c) 2009 Derick Eddington. All rights reserved. Licensed under an ;; MIT-style license. My license is in the file named LICENSE from the original ;; collection this file is distributed with. If this file is redistributed with ;; some other collection, my license must also be included. #!r6rs (import (rnrs) (surfage s27 random-bits)) (do ((i 0 (+ i 1))) ((= i 10) 'done) (display (random-integer 100)) (newline)) (do ((i 0 (+ i 1))) ((= i 10) 'done) (display (random-real)) (newline))