[Haskell-cafe] Tail Recursion within the IO Monad

Rob Hoelz hoelz at wisc.edu
Wed May 16 12:48:42 EDT 2007


"Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> wrote:

> 
> On May 16, 2007, at 12:23 , Rob Hoelz wrote:
> 
> > And as long as I'm asking, is there some kind of monadic function
> > composition operator?  I'd like to clean up the above with something
> > like peekCString . peek . linked_list_getdata...
> 
> (=<<)?
> 

Thanks for the reply;  I can't believe I missed that one!  But while
looking over the documentation, completely humbled, I discovered
sequence, which allows me to write my code cleanly!  Thanks for the
help!

-Rob


More information about the Haskell-Cafe mailing list