1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
{- |
Module : Data.UUID
Copyright : (c) 2008,2012 Antoine Latter
License : BSD-style
Maintainer : aslatter@gmail.com
Stability : experimental
Portability : portable
This library is useful for comparing, parsing and
printing Universally Unique Identifiers.
See <http://en.wikipedia.org/wiki/UUID> for the general idea.
See <http://tools.ietf.org/html/rfc4122> for the specification.
* Random UUIDs may be generated using 'Data.UUID.V4.nextRandom' or
your favorite instance of 'System.Random.Random'.
* We have an implementation of generating a UUID from the hardware
MAC address and current system time in "Data.UUID.V1".
* For name-based generation of UUIDs using SHA-1 hashing see
"Data.UUID.V5".
-}
module Data.UUID(UUID
,toString
,fromString
,toASCIIBytes
,fromASCIIBytes
,toLazyASCIIBytes
,fromLazyASCIIBytes
,toByteString
,fromByteString
,toWords
,fromWords
,null
,nil
) where
import Prelude () -- we need to hide Prelude.null
import Data.UUID.Internal
-- Everything is really implemented in Data.UUID.Internal,
-- but I don't want to export the constructors out of the
-- package.
|