[project @ 2004-12-22 16:58:34 by simonpj]
---------------------------------------- Add more scoped type variables ---------------------------------------- Now the top-level forall'd variables of a type signature scope over the right hand side of that function. f :: a -> a f x = .... The type variable 'a' is in scope in the RHS, and in f's patterns. It's implied by -fglasgow-exts, but can also be switched off independently using -fscoped-type-variables (and the -fno variant)
Showing
- ghc/compiler/iface/TcIface.lhs 2 additions, 2 deletionsghc/compiler/iface/TcIface.lhs
- ghc/compiler/main/CmdLineOpts.lhs 1 addition, 0 deletionsghc/compiler/main/CmdLineOpts.lhs
- ghc/compiler/main/DriverFlags.hs 2 additions, 1 deletionghc/compiler/main/DriverFlags.hs
- ghc/compiler/main/HscTypes.lhs 0 additions, 1 deletionghc/compiler/main/HscTypes.lhs
- ghc/compiler/rename/RnBinds.lhs 7 additions, 3 deletionsghc/compiler/rename/RnBinds.lhs
- ghc/compiler/rename/RnEnv.lhs 48 additions, 20 deletionsghc/compiler/rename/RnEnv.lhs
- ghc/compiler/typecheck/Inst.lhs 14 additions, 13 deletionsghc/compiler/typecheck/Inst.lhs
- ghc/compiler/typecheck/TcArrows.lhs 2 additions, 2 deletionsghc/compiler/typecheck/TcArrows.lhs
- ghc/compiler/typecheck/TcBinds.lhs 65 additions, 58 deletionsghc/compiler/typecheck/TcBinds.lhs
- ghc/compiler/typecheck/TcClassDcl.lhs 9 additions, 12 deletionsghc/compiler/typecheck/TcClassDcl.lhs
- ghc/compiler/typecheck/TcDeriv.lhs 2 additions, 2 deletionsghc/compiler/typecheck/TcDeriv.lhs
- ghc/compiler/typecheck/TcEnv.lhs 3 additions, 7 deletionsghc/compiler/typecheck/TcEnv.lhs
- ghc/compiler/typecheck/TcHsType.lhs 1 addition, 2 deletionsghc/compiler/typecheck/TcHsType.lhs
- ghc/compiler/typecheck/TcInstDcls.lhs 24 additions, 25 deletionsghc/compiler/typecheck/TcInstDcls.lhs
- ghc/compiler/typecheck/TcMType.lhs 44 additions, 34 deletionsghc/compiler/typecheck/TcMType.lhs
- ghc/compiler/typecheck/TcPat.lhs 1 addition, 1 deletionghc/compiler/typecheck/TcPat.lhs
- ghc/compiler/typecheck/TcRnMonad.lhs 5 additions, 5 deletionsghc/compiler/typecheck/TcRnMonad.lhs
- ghc/compiler/typecheck/TcType.lhs 8 additions, 3 deletionsghc/compiler/typecheck/TcType.lhs
- ghc/compiler/types/InstEnv.lhs 4 additions, 1 deletionghc/compiler/types/InstEnv.lhs
- ghc/compiler/types/Unify.lhs 3 additions, 2 deletionsghc/compiler/types/Unify.lhs
Loading
-
mentioned in commit 91b3f184
-
mentioned in merge request !5310 (closed)
-
mentioned in commit 0dc39e91
-
mentioned in commit bd04ea50
-
mentioned in commit df5b0aaf
-
mentioned in commit cdccd865
-
mentioned in commit c948a022
-
mentioned in commit 61316cf9
-
mentioned in commit e78db6ea
-
mentioned in commit adafe3e7
-
mentioned in commit adbaa9a9
Please register or sign in to comment