[Haskell-cafe] Re: Where do I put the seq?

Peter Verswyvelen bugfact at gmail.com
Thu Aug 20 09:42:50 EDT 2009


It seems that with Ryan's approach, DList is not needed, simple concat works
fine.
It also seems to run in constant space. Now I must do the exercise of
rewriting it to see why concat works, since >>= is infixl and ++ is infixr,
this seems odd :) But again, my mind might be thinking too strict (bad
imperative habits?)

http://hpaste.org/fastcgi/hpaste.fcgi/view?id=8316#a8357
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090820/afa1755b/attachment.html


More information about the Haskell-Cafe mailing list