Absolutly. Every expression in Haskell denotes a value.<br>Now, we've not agreed what "value" means, but to me it is a value. :)<br><br> -- Lennart<br><br><div class="gmail_quote">On Dec 27, 2007 3:28 PM, Cristian Baboi <
<a href="mailto:cristi@ot.onrc.ro">cristi@ot.onrc.ro</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>How about x below:
<br><br>let x=(1:x) in x ?<br><br>Is x a single value in Haskell ?<br><div class="Ih2E3d"><br>------- Forwarded message -------<br>From: "Cristian Baboi" <<a href="mailto:cristi@ot.onrc.ro">cristi@ot.onrc.ro</a>
><br>To: "Lennart Augustsson" <<a href="mailto:lennart.augustsson@gmail.com">lennart.augustsson@gmail.com</a>><br>Cc: "<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>" <
<a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a>><br>Subject: Re: [Haskell-cafe] Wikipedia on first-class object<br></div><div><div></div><div class="Wj3C7c">Date: Thu, 27 Dec 2007 16:08:58 +0200<br>
<br>On Thu, 27 Dec 2007 14:02:36 +0200, Lennart Augustsson<br><<a href="mailto:lennart.augustsson@gmail.com">lennart.augustsson@gmail.com</a>> wrote:<br><br>> Comparing functions is certainly possible in Haskell, but there's no
<br>> standard function that does it.<br>> If course, it might not terminate, but the same is true for many other<br>> comparable objects in Haskell, e.g., infinite lists (which are<br>> isomorphic to<br>> Nat->T).
<br><br>The list [1 .. ] is a single value in Haskell ?<br><br><br><br><br>________ Information from NOD32 ________<br>This message was checked by NOD32 Antivirus System for Linux Mail Servers.<br> part000.txt - is OK<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br></div></div><div><div></div><div class="Wj3C7c">_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">
Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></div></div></blockquote></div><br>