[Haskell-cafe] Re: Would someone explain this code to me?
jgbailey at gmail.com
Wed Dec 6 14:39:00 EST 2006
On 06 Dec 2006 19:33:51 +0000, Jón Fairbairn <jon.fairbairn at cl.cam.ac.uk>
> > and in the where statement:
> > T _ a y b = ins s
> Here it's a pattern match. So if ins s returns (T x a' y'
> b'), then a = a'; y = y'; b = b' are used in the expresion
> covered by the where clause.
Great, thanks for clearing that up. Sometimes Haskell is a bit too concise!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe