on master help sign in
Tweak haddocks
commitf7f5d1eaca0d683409c7d8c16a7e8beec435ed8c authorHerbert Valerio Riedel <hvr@gnu.org> dateSun 1 Apr 2018, 17:46 (9 years ago) parent583594f
2 files changed+10−12
uuid-types/Data/UUID/Types.hs+4−6 uuid-types/Data/UUID/Types/Internal.hs+6−6
uuid-types/Data/UUID/Types.hs+4−6
@@ -5,15 +5,13 @@ Copyright : (c) 2017-2018 Herbert Valerio Riedel
55
66License : BSD-style
77
8−Maintainer : aslatter@gmail.com
9−Stability : experimental
8+Maintainer : hvr@gnu.org
109Portability : portable
1110
12−
1311This library is useful for comparing, parsing and
1412printing Universally Unique Identifiers.
1513See <http://en.wikipedia.org/wiki/UUID> for the general idea.
16−See <http://tools.ietf.org/html/rfc4122> for the specification.
14+See <http://tools.ietf.org/html/rfc4122 RFC 4122> for the specification.
1715
1816-}
1917module Data.UUID.Types(UUID
@@ -35,8 +33,8 @@ module Data.UUID.Types(UUID
3533 ,nil
3634 ) where
3735
38−import Prelude () -- we need to hide Prelude.null
39−import Data.UUID.Types.Internal
36+import Data.UUID.Types.Internal
37+import Prelude ()
4038
4139-- Everything is really implemented in Data.UUID.Types.Internal, but I
4240-- don't want to export the constructors out of the package.
uuid-types/Data/UUID/Types/Internal.hs+6−6
@@ -6,13 +6,13 @@
66
77-- |
88-- Module : Data.UUID.Types.Internal
9−-- Copyright : (c) 2008-2009, 2012 Antoine Latter
9+-- Copyright : (c) 2017-2018 Herbert Valerio Riedel
10+-- (c) 2008-2009, 2012 Antoine Latter
1011-- (c) 2009 Mark Lentczner
1112--
1213-- License : BSD-style
1314--
14−-- Maintainer : aslatter@gmail.com
15−-- Stability : experimental
15+-- Maintainer : hvr@gnu.org
1616-- Portability : portable
1717
1818module Data.UUID.Types.Internal
@@ -77,8 +77,8 @@ import System.Random
7777
7878
7979-- |The UUID type. A 'Random' instance is provided which produces
80−-- insecure version 4 UUIDs as specified in RFC 4122. The 'Storable' and
81−-- 'Binary' instances are compatible with RFC 4122, storing the fields in
80+-- insecure version 4 UUIDs as specified in <http://tools.ietf.org/html/rfc4122 RFC 4122>. The 'Storable' and
81+-- 'Binary' instances are compatible with <http://tools.ietf.org/html/rfc4122 RFC 4122>, storing the fields in
8282-- network order as 16 bytes.
8383data UUID = UUID {-# UNPACK #-} !Word64 {-# UNPACK #-} !Word64
8484 deriving (Eq, Ord, Typeable)
@@ -273,7 +273,7 @@ null = (== nil)
273273 -- null (UUID 0 0 0 0) = True
274274 -- null _ = False
275275
276−-- |The nil UUID, as defined in RFC 4122.
276+-- |The nil UUID, as defined in <http://tools.ietf.org/html/rfc4122 RFC 4122>.
277277-- It is a UUID of all zeros. @'null' u@ iff @'u' == 'nil'@.
278278nil :: UUID
279279nil = UUID 0 0