[[project @ 2000-10-05 15:33:03 by simonpj]
simonpj**20001005153303
Add a bit more documentation of generics
] {
hunk ./ghc/docs/users_guide/glasgow_exts.sgml 4281
+
+ 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.)
+
+
}