[Haskell-cafe] Origins of (x:xs)?

Doug Quale quale1 at charter.net
Wed Dec 20 17:19:31 EST 2006

Paul Hudak <paul.hudak at yale.edu> writes:

> As for "x:xs", the "xs" is meant to be the plural of "x", and is
> pronounced "exs" (I guess...).
> Similarly, "n:ns" is one n followed by many more "ens".   Make sense?

I think this convention is often used in the Prolog community as well,
as in "X|Xs".

Doug Quale

More information about the Haskell-Cafe mailing list