diff options
author | sof <unknown> | 1999-01-14 17:59:25 +0000 |
---|---|---|
committer | sof <unknown> | 1999-01-14 17:59:25 +0000 |
commit | 3160f854580e6d8df412c8cd34d93bae27175d67 (patch) | |
tree | 37626e44a8e3b88ece24cdafeaacc02f4c248b26 /ghc/compiler/parser/syntax.c | |
parent | 882e459f34c50e8a8d841178d6c8db54ca47add8 (diff) | |
download | haskell-3160f854580e6d8df412c8cd34d93bae27175d67.tar.gz |
[project @ 1999-01-14 17:58:41 by sof]
Assorted minor Haskell 98 changes:
* Maximal munch rule for "--" comments
* _ as lower-case letter, "_" is a reserved id. Prefixing unused
variable names in patterns with '_' causes the renamer not to
report such names as being unused.
* allow empty decls
* comprehensions are now list comprehensions, not monadic.
* use Monad.fail to signal pattern matching errors within
do expressions.
* remove record punning.
* empty contexts are now legal (go wild!)
* allow records with no fields
* allow newtypes with a labelled field
* default default is now (Integer, Double)
* turn off defaulting mechanism for args & res to a _ccall_.
* allow LHSs of the form (a -.- b) x = ...
* Main.main can now have type (IO a)
* nuked Void (and its use in the compiler sources.)
* deriving machinery for Enum now also generate 'succ' and 'pred'
method bindings.
Diffstat (limited to 'ghc/compiler/parser/syntax.c')
-rw-r--r-- | ghc/compiler/parser/syntax.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ghc/compiler/parser/syntax.c b/ghc/compiler/parser/syntax.c index 989ce0c0bc..244e6940f4 100644 --- a/ghc/compiler/parser/syntax.c +++ b/ghc/compiler/parser/syntax.c @@ -563,7 +563,6 @@ checknobangs(app) } } - /* Check that a type is of the form C a1 a2 .. an where n>=1, and the ai are all type variables |