on ea7fb0f help sign in
34 lines 920 B history raw
1-- |
2-- Module : Data.UUID
3-- Copyright : (c) 2008 Antoine Latter
4--
5-- License : BSD-style
6--
7-- Maintainer : aslatter@gmail.com
8-- Stability : experimental
9-- Portability : portable
10--
11--
12-- This library is useful for comparing, parsing and
13-- printing Universally Unique Identifiers.
14-- See <http://en.wikipedia.org/wiki/UUID> for the general idea.
15-- See <http://tools.ietf.org/html/rfc4122> for the specification.
16--
17-- For generating UUIDs, check out 'Data.UUID.V1', 'Data.UUID.V5' and
18-- 'System.Random'.
20module Data.UUID(UUID
21 ,toString
22 ,fromString
23 ,toByteString
24 ,fromByteString
25 ,null
26 ,nil
27 ) where
29import Prelude hiding (null)
30import Data.UUID.Internal
32-- Everything is really implemented in Data.UUID.Internal,
33-- but I don't want to export the constructors out of the
34-- package.