[Haskell-beginners] What's the mean of >>=

김명신 himskim at msn.com
Sun Apr 19 23:33:08 UTC 2015


It could be stupid question because i'm very beginner of haskell.
 
I found strange literals when i read haskell code.
Does anybody explan what the mean of >>= below ocode ? And additionally, What is mean of >> itself?
 
putStrLn' [] = putChar '\n'
putStrLn' xs - putStr' xs >>= \ x -> putChar '\n'
 
putStr' [] = return ()
putStr' (x : xs) = putChar x >> putStr' n
 
(because of i18n problem, back slash literal could be shown as '\')
 
Thank you in advance
Myung Shin Kim
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150419/20447a55/attachment.html>


More information about the Beginners mailing list