[project @ 2002-08-13 10:13:40 by simonmar]
authorsimonmar <unknown>
Tue, 13 Aug 2002 10:13:40 +0000 (10:13 +0000)
committersimonmar <unknown>
Tue, 13 Aug 2002 10:13:40 +0000 (10:13 +0000)
Update docs about not using Float.

ghc/docs/users_guide/sooner.sgml

index 474b5a3..767de16 100644 (file)
@@ -464,14 +464,15 @@ to compete with it, but link with it.
 </Para>
 </ListItem>
 </VarListEntry>
+
 <VarListEntry>
 <Term>Don't use <Literal>Float</Literal>s:</Term>
 <ListItem>
 <Para>
-We don't provide specialisations of Prelude functions for <Literal>Float</Literal>
-(but we do for <Literal>Double</Literal>).  If you end up executing overloaded
-code, you will lose on performance, perhaps badly.
-</Para>
+If you're using <literal>Complex</literal>, definitely use
+<literal>Complex Double</literal> rather than <literal>Complex
+Float</literal> (the former is specialised heavily, but the latter
+isn't).</para>
 
 <Para>
 <Literal>Floats</Literal> (probably 32-bits) are almost always a bad idea, anyway,