From: simonmar Date: Thu, 30 Aug 2001 13:36:00 +0000 (+0000) Subject: [project @ 2001-08-30 13:36:00 by simonmar] X-Git-Tag: nhc98-1-18-release~1173 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7ebddda4ca29174530af5bc4356001331059a508;p=ghc-base.git [project @ 2001-08-30 13:36:00 by simonmar] fix a few typos and add some clarifications --- diff --git a/doc/libraries.sgml b/doc/libraries.sgml index 2a60c73..2649483 100644 --- a/doc/libraries.sgml +++ b/doc/libraries.sgml @@ -151,7 +151,7 @@ where currently the syntax is - modid -> conid + modid -> conid qconid -> [modid .] conid @@ -368,7 +368,7 @@ A module defining a data type or type class - X has the itself the name + X has itself the name X, e.g. StablePtr. @@ -404,8 +404,8 @@ would be named M.Internals. eg. -import Text.Html -- The library -import Text.Html.Internals -- The non-abstract library (for building other libs) +import Text.HTML -- The library +import Text.HTML.Internals -- The non-abstract library @@ -794,7 +794,7 @@ import Text.Html.Internals -- The non-abstract library (for building other libs) Extensions which we'd like to be standard, but aren't - currently implemented by one or more of the our target + currently implemented by one or more of the target compilers: @@ -815,14 +815,14 @@ import Text.Html.Internals -- The non-abstract library (for building other libs) Concurrent Haskell (pre-emptive multitasking - optional). Hugs implements this, but Nhc currently does - not. + optional). GHC and Hugs implement this, but Nhc currently + does not. The following extensions are not likely to become part of the baseline, but are nevertheless used by one or more libraries - in the core set: + in the core set (which are thus designated non-portable): @@ -987,7 +987,7 @@ import Text.Html.Internals -- The non-abstract library (for building other libs) -- Stability : experimental | provisional | stable -- Portability : portable | non-portable (reason(s)) -- --- $Id: libraries.sgml,v 1.4 2001/07/05 13:52:49 simonmar Exp $ +-- $Id: libraries.sgml,v 1.5 2001/08/30 13:36:00 simonmar Exp $ -- -- Description ----------------------------------------------------------------------------- @@ -997,7 +997,7 @@ import Text.Html.Internals -- The non-abstract library (for building other libs) - $Id: libraries.sgml,v 1.4 2001/07/05 13:52:49 simonmar Exp $ + $Id: libraries.sgml,v 1.5 2001/08/30 13:36:00 simonmar Exp $ is optional, but usually included if the module is under CVS or RCS control. @@ -1315,11 +1315,11 @@ e.g. fromInteger. encode an error condition and a normal result, Left is used for the former and Right for the latter, see - e.g. MonadEither. + e.g. Control.Monad.Error. - A module corresponding to a class + A module corresponding to a class (e.g. Bits) contains the class definition, perhaps some auxiliary functions, and all sensible instances for Prelude types, but nothing @@ -1329,14 +1329,14 @@ e.g. fromInteger. - Record-like C bit fields or structs have a + Record-like C bit fields or structs have a record-like interface, i.e. pure getting and setting of fields. (TODO: Clarify a little bit. Add examples.) - Although the possibility of partial application + Although the possibility of partial application suggests the type attr -> object -> object @@ -1406,7 +1406,7 @@ e.g. fromInteger. Ix -> Data.Ix Locale -> System.Locale Monad -> Data.Monad - Random -> System.Radom + Random -> System.Random Ratio -> Data.Ratio Time -> System.Time