From: simonm Date: Thu, 11 Feb 1999 12:30:38 +0000 (+0000) Subject: [project @ 1999-02-11 12:30:38 by simonm] X-Git-Tag: Approximately_9120_patches~6570 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=bffe78abeaf39c2d54eb1f45d18c9ba5a7fba2ab [project @ 1999-02-11 12:30:38 by simonm] - add scoped type variables documentation. --- diff --git a/ghc/docs/users_guide/glasgow_exts.vsgml b/ghc/docs/users_guide/glasgow_exts.vsgml index 4c0fd15..5e8cc2a 100644 --- a/ghc/docs/users_guide/glasgow_exts.vsgml +++ b/ghc/docs/users_guide/glasgow_exts.vsgml @@ -1,5 +1,5 @@ % -% $Id: glasgow_exts.vsgml,v 1.3 1998/12/02 13:20:38 simonm Exp $ +% $Id: glasgow_exts.vsgml,v 1.4 1999/02/11 12:30:38 simonm Exp $ % % GHC Language Extensions. % @@ -47,6 +47,13 @@ Some or all of the type variables in a datatype declaration may be existentially quantified. More details in Section . +Scoped type variables: + +Scoped type variables enable the programmer to supply type signatures +for some nested declarations, where this would not be legal in Haskell +98. Details in Section . + Calling out to C: Just what it sounds like. We provide lots of rope that you @@ -1443,3 +1450,283 @@ but single-field existentially quantified constructors aren't much use. So the simple restriction (no existential stuff on newtype) stands, unless there are convincing reasons to change it. + +% ----------------------------------------------------------------------------- +Scoped Type Variables +