<div dir="ltr">On Monday, February 27, 2017 at 12:35:26 AM UTC+1, o...@cs.otago.ac.nz wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">><br>> Furthermore, you would not want<br>> ```<br>> main = let 1 = 2 in print "foo"<br>> ```<br>> to error, since the pattern match is unused, and haskell is a lazy<br>> language.<p>That's not at all clear.  In fact, I believe this thread exists<br>because the OP's daughter expected that it WOULD raise an error.</p></blockquote><div><br> I think i agree with this. IMO it should raise an error as well as<br><br>  (\1 -> "hello") 2<br><br>does.<br><br>Alexey.<br></div></div>