|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> The first major task is to write an expression parser. This is
> *drastically* less trivial than it sounds! (Currently my parser
> understands only a fraction of Haskell's full syntax. The bare minimum
> to parse useful expressions.)
Oh *man*... The more I read into this, the more I discover that Haskell
is way, way more flexible than I thought! o_O
For example, you're allowed to give fixity declarations for local
variables. I thought it was only permitted for top-level variables, but
no, apparently every let-expression can contain fixity declarations and
type signatures. So much for a let-binding just being a list of
variables and what they're bound to. :-P
Post a reply to this message
|
![](/i/fill.gif) |