[Haskell-cafe] Origins of (x:xs)?
toby.hutton at gmail.com
Tue Dec 19 17:43:32 EST 2006
This may have been asked before, sorry if so. I've wondered where the
convention of pattern matching a list to (x:xs) came from? I've read a
couple of old papers recently which let me believe it may have started back
in the '70s with Miranda and its ilk.
Does anyone know why (x:xs)? Is xs meant to be a synonym for 'excess'?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe