On Fri, Feb 01, 2008 at 10:19:17PM +0000, Lennart Augustsson wrote:
  It's a matter of taste.  I prefer the function composition in this case.
  It reads nicely as a pipeline.

(Hoping not to contribute to any flamage...)

I've always liked $ for this kind of code, if you want to keep the
arguments around:

  next xs = runCont $ sequence $ map Cont xs

seems quite natural to me.

Phil

--
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to