Changes between Version 11 and Version 12 of ScopedTypeVariables
- Timestamp:
- 01/20/06 09:01:02 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScopedTypeVariables
v11 v12 42 42 }}} 43 43 In the latter two cases, the variable can stand for any type, not necessarily a type variable as in these examples, i.e. the variable is existentially quantified. 44 Hugs supports only pattern type signatures, with the type variables universally quantified. 44 In future versions of GHC, type variables will be rigid (universally quantified). 45 Hugs supports only pattern type signatures, with rigid type variables. 45 46 46 47 In GHC, type variables in the head of a class or instance declaration scope over bindings in the `where` part. 47 48 48 49 == References == 49 * [http://www.haskell.org/ghc/docs/latest/html/users_guide/type-extensions.html#scoped-type-variables GHC documentation] 50 * [http://www.haskell.org/ghc/docs/latest/html/users_guide/type-extensions.html#scoped-type-variables GHC documentation] and [http://www.haskell.org/pipermail/glasgow-haskell-users/2006-January/009565.html a recent revision] 50 51 * [http://cvs.haskell.org/Hugs/pages/users_guide/type-annotations.html Hugs documentation] 51 52
