[Haskell-cafe] Re: Prototype of a syntax reference
Peter Hercek
phercek at gmail.com
Mon Aug 25 08:28:17 EDT 2008
Maurício wrote:
> • It should show the complete syntax of
> everything, not the most common. For instance,
> ‘case of’ should show the use of guards;
>
> • It should be an example of valid code, not good
> one. The idea is to show what can be done, not
> what should :)
This can help you when you will generate all
the options. It can also help you when analyzing
whether your options are right, or (for example)
when looking where are all the places some
language construct can be used in.
Enable java script for the page and try to click
on all the places where you see "hand" cursor:
http://www.hck.sk/users/peter/HaskellEx.htm
The page above is the one I used when learning
Haskell.
I'm curious whether you can fit it on one A4 page.
Probably depends on font size :)
Peter.
More information about the Haskell-Cafe
mailing list