[commit: ghc] master: Fix Haddock formatting (4f69b1e)
git at git.haskell.org
git at git.haskell.org
Mon Feb 24 23:02:48 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4f69b1e23cc9538241e895be4dbee0a0a0fd8396/ghc
>---------------------------------------------------------------
commit 4f69b1e23cc9538241e895be4dbee0a0a0fd8396
Author: Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
Date: Mon Feb 24 22:58:09 2014 +0000
Fix Haddock formatting
>---------------------------------------------------------------
4f69b1e23cc9538241e895be4dbee0a0a0fd8396
compiler/utils/FastString.lhs | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs
index a4908b5..5a78c0b 100644
--- a/compiler/utils/FastString.lhs
+++ b/compiler/utils/FastString.lhs
@@ -10,18 +10,20 @@
-- |
-- There are two principal string types used internally by GHC:
--
--- 'FastString':
--- * A compact, hash-consed, representation of character strings.
--- * Comparison is O(1), and you can get a 'Unique.Unique' from them.
--- * Generated by 'fsLit'.
--- * Turn into 'Outputable.SDoc' with 'Outputable.ftext'.
+-- ['FastString']
--
--- 'LitString':
--- * Just a wrapper for the @Addr#@ of a C string (@Ptr CChar@).
--- * Practically no operations.
--- * Outputing them is fast.
--- * Generated by 'sLit'.
--- * Turn into 'Outputable.SDoc' with 'Outputable.ptext'
+-- * A compact, hash-consed, representation of character strings.
+-- * Comparison is O(1), and you can get a 'Unique.Unique' from them.
+-- * Generated by 'fsLit'.
+-- * Turn into 'Outputable.SDoc' with 'Outputable.ftext'.
+--
+-- ['LitString']
+--
+-- * Just a wrapper for the @Addr#@ of a C string (@Ptr CChar@).
+-- * Practically no operations.
+-- * Outputing them is fast.
+-- * Generated by 'sLit'.
+-- * Turn into 'Outputable.SDoc' with 'Outputable.ptext'
--
-- Use 'LitString' unless you want the facilities of 'FastString'.
module FastString
More information about the ghc-commits
mailing list