[Haskell-cafe] IO Monad operation madness

Isaac Dupree isaacdupree at charter.net
Thu May 17 19:18:31 EDT 2007


Isaac Dupree wrote:
>> liftM2 (:)
>>   (peekCString =<< (linked_list_getdata ptr))
>>   (linkedListToHaskellStringList =<< linked_list_next ptr)

formerly missing parenthesis fixed in the above before it bites you :(

Isaac


More information about the Haskell-Cafe mailing list