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/hsSyn/HsExpr.hi-boot | |
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/hsSyn/HsExpr.hi-boot')
-rw-r--r-- | ghc/compiler/hsSyn/HsExpr.hi-boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/compiler/hsSyn/HsExpr.hi-boot b/ghc/compiler/hsSyn/HsExpr.hi-boot index 64b4a2fc97..dd003096b7 100644 --- a/ghc/compiler/hsSyn/HsExpr.hi-boot +++ b/ghc/compiler/hsSyn/HsExpr.hi-boot @@ -4,3 +4,4 @@ HsExpr HsExpr pprExpr; _declarations_ 1 data HsExpr i p; 1 pprExpr _:_ _forall_ [i p] {Name.NamedThing i, Outputable.Outputable i, Outputable.Outputable p} => HsExpr.HsExpr i p -> Outputable.SDoc ;; + |