[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.
Showing
- ghc/compiler/basicTypes/MkId.lhs 35 additions, 0 deletionsghc/compiler/basicTypes/MkId.lhs
- ghc/compiler/basicTypes/Name.hi-boot 1 addition, 0 deletionsghc/compiler/basicTypes/Name.hi-boot
- ghc/compiler/basicTypes/OccName.lhs 6 additions, 1 deletionghc/compiler/basicTypes/OccName.lhs
- ghc/compiler/basicTypes/Unique.lhs 37 additions, 43 deletionsghc/compiler/basicTypes/Unique.lhs
- ghc/compiler/codeGen/CgExpr.lhs 26 additions, 11 deletionsghc/compiler/codeGen/CgExpr.lhs
- ghc/compiler/deSugar/DsExpr.hi-boot 1 addition, 0 deletionsghc/compiler/deSugar/DsExpr.hi-boot
- ghc/compiler/deSugar/DsExpr.lhs 20 additions, 12 deletionsghc/compiler/deSugar/DsExpr.lhs
- ghc/compiler/hsSyn/HsDecls.lhs 8 additions, 2 deletionsghc/compiler/hsSyn/HsDecls.lhs
- ghc/compiler/hsSyn/HsExpr.hi-boot 1 addition, 0 deletionsghc/compiler/hsSyn/HsExpr.hi-boot
- ghc/compiler/parser/constr.ugn 1 addition, 0 deletionsghc/compiler/parser/constr.ugn
- ghc/compiler/parser/hslexer.flex 55 additions, 11 deletionsghc/compiler/parser/hslexer.flex
- ghc/compiler/parser/hsparser.y 38 additions, 44 deletionsghc/compiler/parser/hsparser.y
- ghc/compiler/parser/id.c 1 addition, 1 deletionghc/compiler/parser/id.c
- ghc/compiler/parser/syntax.c 0 additions, 1 deletionghc/compiler/parser/syntax.c
- ghc/compiler/parser/type2context.c 10 additions, 2 deletionsghc/compiler/parser/type2context.c
- ghc/compiler/prelude/PrelInfo.lhs 23 additions, 14 deletionsghc/compiler/prelude/PrelInfo.lhs
- ghc/compiler/prelude/PrimOp.lhs 43 additions, 30 deletionsghc/compiler/prelude/PrimOp.lhs
- ghc/compiler/prelude/TysWiredIn.lhs 10 additions, 17 deletionsghc/compiler/prelude/TysWiredIn.lhs
- ghc/compiler/reader/Lex.lhs 14 additions, 2 deletionsghc/compiler/reader/Lex.lhs
- ghc/compiler/reader/ReadPrefix.lhs 18 additions, 17 deletionsghc/compiler/reader/ReadPrefix.lhs
Loading
Please register or sign in to comment