<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>The way I learned it:</div><div id="AppleMailSignature">A tuple type is defined by the types inside it, so an (int,int) is not the same type as an (int, maybe(int)). With a one-tuple the type would just be (int) and that provides zero benefit. </div><div id="AppleMailSignature">Instead of trying to do `first (...my expression...)` to get the first element of the one tuple, it just becomes the value inside.<br><br>Sent from my iPhone</div><div><br>On Feb 24, 2016, at 7:02 PM, Imants Cekusins <<a href="mailto:imantc@gmail.com">imantc@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr">My guess is: tuple must contain 2+ elements.</p>
<p dir="ltr">Try to enter (1) in ghci. It is displayed as 1</p>
<p dir="ltr">Parentheses are only recognized as a tuple if there are elements separated by a comma. Otherwise an expression is assumed.</p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Beginners mailing list</span><br><span><a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a></span><br><span><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a></span><br></div></blockquote></body></html>