Re: Type synonyms and coercions, again

1996-07-11 Thread peterson-john
To answer your questions ... - Is the above view of type synonyms really equivalent to the Haskell report's definition? (Above view: consider the type and it's synonym to be distinct but with implicit bidirectional coercion) Almost. In some places, synonyms are not allowed. Your sche

Re: Adding attribute grammar syntax to Haskell

1996-07-11 Thread Simon L Peyton Jones
You've seen the Happy parser generator I assume? It's not a full attribute grammer extension, but it's moving in that direction. | Would it be possible to design a standard attribute grammar | extension to Haskell? This could then be added as an appendix to | the Report, or as a separate ext