At 10:47 AM 12/5/98 +0300, you wrote:
>
>| I think using monads, and specially a powerful one like IO, everywhere is
>| a mistake.  I can't see the need for most uses of random numbers.
>| 
>|      -- Lennart
>
>
>Yes, yes. I am also suspisious about bringing monads to everywhere.
>Probably, we need them only to program input (output).
>As to the random generator, it is natural for it to take, say, a 
>couple of Integers and yield some infinite list. Why should it differ
>"monadically" from other functions? 
>
>
>------------------
>Sergey Mechveliani
>[EMAIL PROTECTED]
>

Surely it must be that random number generation cannot be defined
by an ordinary function, as the results of an inpur vary unacountably.
Random number generation therefore seems to be analogous to input.
Hence, monads seem to be as applicable to random number generation
as to actual IO.

Best Regards,


Byron Hale
Effective Information
[EMAIL PROTECTED]
(408)358-8064


Reply via email to