TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ten Things You Should Know About Haskell Syntax

7 pointsby malloc47almost 13 years ago

2 comments

ggchappellalmost 13 years ago
Very nice article.<p>&#62; 7. Functions Have Precedence over Operators<p>Yup. The killer for me has always been things like<p><pre><code> f x:xs </code></pre> Never does what I want. But at least there is only a simple rule to remember.<p>&#62; 9. There is no Order<p>Oooo, careful there. It may not matter what order I define f &#38; g in, but the following means something else if I reverse the order of the lines:<p><pre><code> f 0 = 1 f x = x</code></pre>
rohshallalmost 13 years ago
Fantastic article. Thanks for posting it.