Skip to content

Commit

Permalink
Derive Data
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas M. DuBuisson committed Dec 19, 2013
1 parent e7f8ab6 commit 17d59fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Crypto/Random.hs
Expand Up @@ -39,6 +39,7 @@ import Control.Exception
import Crypto.Types
import Crypto.Util
import Data.Bits (xor, setBit, shiftR, shiftL, (.&.))
import Data.Data
import Data.List (foldl')
import Data.Tagged
import Data.Typeable
Expand Down Expand Up @@ -75,7 +76,7 @@ data GenError =
| NeedsInfiniteSeed -- ^ This generator can not be
-- instantiated or reseeded with a
-- finite seed (ex: 'SystemRandom')
deriving (Eq, Ord, Show, Read, Typeable)
deriving (Eq, Ord, Show, Read, Data, Typeable)

data ReseedInfo
= InXBytes {-# UNPACK #-} !Word64 -- ^ Generator needs reseeded in X bytes
Expand Down

0 comments on commit 17d59fc

Please sign in to comment.