packages feed

uuid 1.2.1 → 1.2.2

raw patch · 5 files changed

+20/−3 lines, 5 files

Files

Data/UUID.hs view
@@ -22,6 +22,8 @@                 ,fromString                 ,toByteString                 ,fromByteString+                ,toWords+                ,fromWords                 ,null                 ,nil                 ) where
Data/UUID/Internal.hs view
@@ -3,6 +3,7 @@ -- | -- Module      : Data.UUID -- Copyright   : (c) 2008-2009 Antoine Latter+--               (c) 2009 Mark Lentczner -- -- License     : BSD-style --@@ -18,6 +19,8 @@     ,toByteString     ,fromString     ,toString+    ,fromWords+    ,toWords     ,buildFromBytes     ,buildFromWords     ) where@@ -67,6 +70,16 @@     None was as fast, overall, as the representation used here. -} +-- | Covert a 'UUID' into a sequence of 'Word32' values.+-- Usefull for when you need to serialize a UUID and+-- neither 'Storable' nor 'Binary' are appropriate. +toWords :: UUID -> (Word32, Word32, Word32, Word32)+toWords (UUID w1 w2 w3 w4) = (w1, w2, w3, w4)++-- | Create a 'UUID' from a sequence of 'Word32'. The+-- opposite of 'toWords'.+fromWords :: Word32 -> Word32 -> Word32 -> Word32 -> UUID+fromWords = UUID  -- -- UTILITIES
Data/UUID/V1.hs view
@@ -4,6 +4,8 @@ -- | -- Module      : Data.UUID.V1 -- Copyright   : (c) 2008 Jason Dusek+--               (c) 2009 Mark Lentczner+--               (c) 2009-2010 Antoine Latter -- -- License     : BSD-style --
Data/UUID/V5.hs view
@@ -1,6 +1,6 @@ -- | -- Module      : Data.UUID.V5--- Copyright   : (c) 2008 Antoine Latter+-- Copyright   : (c) 2008-2009 Antoine Latter -- -- License     : BSD-style --
uuid.cabal view
@@ -1,6 +1,6 @@ Name: uuid-Version: 1.2.1-Copyright: (c) 2008-2009 Antoine Latter+Version: 1.2.2+Copyright: (c) 2008-2011 Antoine Latter Author: Antoine Latter Maintainer: aslatter@gmail.com License: BSD3