[[project @ 2000-10-31 17:48:31 by simonmar] simonmar**20001031174831 docbook police ] { hunk ./ghc/docs/users_guide/glasgow_exts.sgml 4282 - Using generics - - -To use generics you need to - - - -Use the flag. - - - - -Import the module Generics from the lang package. -This import brings into scope the data types Unit, :*:, -and :+:. (You don't need this import if you don't mention these -types explicitly; for example, if you are simply giving instance declarations.) - - - + + Using generics + To use generics you need to + + + Use the flag. + + + Import the module Generics from the + lang package. This import brings into + scope the data types Unit, + :*:, and :+:. (You + don't need this import if you don't mention these types + explicitly; for example, if you are simply giving instance + declarations.) + + + }