diff options
| -rw-r--r-- | ghc/docs/users_guide/sooner.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ghc/docs/users_guide/sooner.sgml b/ghc/docs/users_guide/sooner.sgml index 474b5a36ee..767de165f1 100644 --- a/ghc/docs/users_guide/sooner.sgml +++ b/ghc/docs/users_guide/sooner.sgml @@ -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, |
