On Tue, 9 Jun 2009, Bulat Ziganshin wrote:

Hello jerzy,

Tuesday, June 9, 2009, 8:23:04 PM, you wrote:

Please, tell him first about random streams, which he can handle without
IO. Or, about ergodic functions (hashing contraptions which transform ANY
parameter into something unrecognizable). When he says : "I know all that",
THEN hurt him badly with monads.

i think that for someone coming from imperative programming teeling
about IO monad is the easiest way. and then he will learn how to do it
FP way

I came from imperative programming and never wanted to use randomIO, because it forces you to IO and randomsIO is not lazy.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to