| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Eventium.UUID
Contents
Description
This module contains orphan UUID instances and a few convenience
functions around UUIDs. It would be great if this were its own entirely
separate package.
Synopsis
- data UUID
- uuidFromText :: Text -> Maybe UUID
- uuidToText :: UUID -> Text
- nil :: UUID
- uuidNextRandom :: IO UUID
- uuidFromInteger :: Integer -> UUID
Documentation
Type representing Universally Unique Identifiers (UUID) as specified in RFC 4122.
Instances
| FromJSON UUID | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSONKey UUID | |
Defined in Data.Aeson.Types.FromJSON | |
| ToJSON UUID | |
| ToJSONKey UUID | |
Defined in Data.Aeson.Types.ToJSON | |
| Data UUID | |
Defined in Data.UUID.Types.Internal Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UUID -> c UUID # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UUID # dataTypeOf :: UUID -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UUID) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UUID) # gmapT :: (forall b. Data b => b -> b) -> UUID -> UUID # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UUID -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UUID -> r # gmapQ :: (forall d. Data d => d -> u) -> UUID -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UUID -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UUID -> m UUID # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UUID -> m UUID # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UUID -> m UUID # | |
| Storable UUID | This |
Defined in Data.UUID.Types.Internal | |
| Read UUID | |
| Show UUID | Pretty prints a
|
| Binary UUID | This |
| NFData UUID | |
Defined in Data.UUID.Types.Internal | |
| Eq UUID | |
| Ord UUID | |
| Hashable UUID | |
Defined in Data.UUID.Types.Internal | |
| FromHttpApiData UUID | |
Defined in Web.Internal.HttpApiData | |
| ToHttpApiData UUID | |
Defined in Web.Internal.HttpApiData Methods toUrlPiece :: UUID -> Text # toEncodedUrlPiece :: UUID -> Builder # toHeader :: UUID -> ByteString # toQueryParam :: UUID -> Text # toEncodedQueryParam :: UUID -> Builder # | |
| PathPiece UUID Source # | |
Defined in Eventium.UUID | |
| Random UUID | This |
| Uniform UUID | |
Defined in Data.UUID.Types.Internal Methods uniformM :: StatefulGen g m => g -> m UUID # | |
| Lift UUID | |
uuidToText :: UUID -> Text Source #
uuidNextRandom :: IO UUID Source #
uuidFromInteger :: Integer -> UUID Source #