<div dir="ltr">On Fri, Aug 31, 2012 at 12:23 PM, KMandPJLynch <span dir="ltr"><<a href="mailto:kmandpjlynch@verizon.net" target="_blank">kmandpjlynch@verizon.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div><i>factorial' :: Int -> Int</i></div><div><i>factorial' 0 = 1</i></div><div><i>factorial' (n+1) = (n+1)*factorial' n</i></div></div></div></div>
</blockquote><div><br></div><div>n+k patterns were removed from Haskell 2010. You can re-enable them in GHC with</div><div><br></div><div>{-# LANGUAGE NPlusKPatterns #-}</div><div><br></div><div>or</div><div><br></div><div>
{-# LANGUAGE Haskell98 #-}</div><div><br></div><div>as the first line of the source file.</div><div><br></div></div>-- <br>brandon s allbery <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available) (412) 475-9364 vm/sms<br><br>
</div>