[cvs-nhc98] patch applied (nhc98): Desugaring of comprehensions and enumerations moves from parser to renamer.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Jun 6 13:13:07 EDT 2007


Wed Jun  6 10:02:19 PDT 2007  Malcolm.Wallace at cs.york.ac.uk
  * Desugaring of comprehensions and enumerations moves from parser to renamer.
  Keeping the list-like sugar was a feature added by HPC, now merged back
  into the main nhc98 tree.  But HPC never desugared them afterwards, which
  nhc98 must now do in the renamer (in order to avoid getting mixed up in
  the type checker.)

    M ./src/compiler98/Bind.hs +2
    M ./src/compiler98/MkSyntax.hs -1 +38
    M ./src/compiler98/Need.hs -1 +18
    M ./src/compiler98/Parse.hs -3 +46
    M ./src/compiler98/PrettySyntax.hs -3 +41
    M ./src/compiler98/Rename.hs +4
    M ./src/compiler98/Syntax.hs -2 +8
    M ./src/compiler98/SyntaxPos.hs +4
    M ./src/compiler98/TokenInt.hs -2 +5


More information about the Cvs-nhc98 mailing list