cvs commit: fptools/libraries/haskell-src/Language/Haskell
THSyntax.hs
ross@glass.cse.ogi.edu
ross@glass.cse.ogi.edu
Tue, 19 Nov 2002 16:54:05 -0800
ross 2002/11/19 16:54:05 PST
Modified files:
libraries/haskell-src/Language/Haskell THSyntax.hs
Log:
Add type signatures for the precedence constants.
I think GHC was erroneous in accepting the module without these.
A simpler example:
module X where { n = 0; m = n::Int }
should fail because the type of n, being ambiguous, defaults to Integer.
Revision Changes Path
1.12 +1 -0 fptools/libraries/haskell-src/Language/Haskell/THSyntax.hs