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

Re: parallel argument evaluation



    I would agree; on the other hand, the degree is quite significant.
    Suppose you define a random-number-generator rand by
    	(define rand
    	  (let ((seed (initial-random-seed)))
    	    (lambda ()
    	      (set! seed (random-update seed))
    	      seed)))
    and then you write programs like
    	(+ (rand) (rand))
    
Yes, this is a good example, as was Tiedeman's.  But a very small 
change to your example:

    (- (rand) (rand))

makes even sequential programs unportable!  Sigh ... :-(

    -Paul
-------