[Haskell-beginners] The (x:xs) in function parameter is a tuple?
Imants Cekusins
imantc at gmail.com
Thu Feb 25 00:02:02 UTC 2016
My guess is: tuple must contain 2+ elements.
Try to enter (1) in ghci. It is displayed as 1
Parentheses are only recognized as a tuple if there are elements separated
by a comma. Otherwise an expression is assumed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160225/6dfadf27/attachment-0001.html>
More information about the Beginners
mailing list