On 2008-08-30, Johannes Waldmann <[EMAIL PROTECTED]> wrote:
> apfelmus wrote:
>
>> Design your language in a way that the *parse* tree does not depend
>> on import statements? I.e. Chasing imports is performed after you've
>> got an abstract syntax tree.
>
> OK, that would work.
>
> This property does not hold for Haskell,
> because you need the fixities of the operators
> (so, another language design error :-)

Yes, but you can partially parse into a list, which later gets
completely parsed.  It's not like C with its textual inclusion, and
constructs changing what counts as a type.

-- 
Aaron Denney
-><-

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to