Greg Buchholz wrote:

   Have you read...
http://haskell.org/hawiki/ThatAnnoyingIoType

Thanks. I'll take a look at it. I also need to take a look at the basic Haskell syntax. An interesting-looking web page which discusses monads is:
http://www.nomaware.com/monads/html/analogy.html

What struck me was this bit of code:

assemblyLine w = (return w) >>= makeChopsticks >>= polishChopsticks >>= 
wrapChopsticks


Interestingly, this looks like Forth (!), where you put a value on the stack, and successive operations fiddle with the stack as a series of transformations. Not that I know Forth, you understand. Hmm, so Haskell can be a concatenative language if you want it to be.



        
        
                
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to