[Haskell-cafe] [ANN] Haskell Cheatsheet v1.0

Andrew Coppin andrewcoppin at btinternet.com
Sun Oct 12 04:57:57 EDT 2008


Justin Bailey wrote:
> Thanks to everyone for their feedback. I've made some updates and
> posted the PDF to my blog:
>
>   http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet
>   

I was wondering why there isn't a PDF directly downloadable anywhere... ;-)

FWIW, I just learned something by looking at this. I was under the 
impression that a literal number can have *any* type, and therefore "1" 
and "1.0" are completely equivilent. Apparently this is untrue. (!)

Your "numbers" section is actually mostly list comprehensions. While 
it's interesting that you need a space between ".." and "-" for negative 
numbers, this wasn't immediately clear from reading your text. Maybe it 
would be better to write that as a sentence? (Or just format the correct 
syntax in monotype so the space is more obvious.)



More information about the Haskell-Cafe mailing list