[Haskell-cafe] Really need some help understanding a solution

Peter Verswyvelen bugfact at gmail.com
Mon Mar 30 17:58:17 EDT 2009


On Sat, Mar 28, 2009 at 3:03 AM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:

> What about using a custom list type, that has only one constructor like
> (:), that is, a type for infinite lists?
>

You mean Data.Stream?<http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Stream>


Interesting that this module's zipWith does not do lazy pattern matching,
even though it only supports infinite lists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090330/d1938b92/attachment-0001.htm


More information about the Haskell-Cafe mailing list