module Data.TypeID.V1.Unsafe
(
unsafeGenTypeID
, unsafeParseString
, unsafeParseText
, unsafeParseByteString
, unsafeString2ID
, unsafeText2ID
, unsafeByteString2ID
) where
import Control.Monad.IO.Class
import Data.ByteString.Lazy (ByteString)
import Data.Text (Text)
import Data.TypeID.Class
import qualified Data.TypeID.Internal as TID
import Data.TypeID.V1 (TypeIDV1)
unsafeGenTypeID :: MonadIO m => Text -> m TypeIDV1
unsafeGenTypeID :: forall (m :: * -> *). MonadIO m => Text -> m TypeIDV1
unsafeGenTypeID = Text -> m TypeIDV1
forall (m :: * -> *). MonadIO m => Text -> m TypeIDV1
TID.unsafeGenTypeIDV1
{-# INLINE unsafeGenTypeID #-}
unsafeParseString :: String -> TypeIDV1
unsafeParseString :: String -> TypeIDV1
unsafeParseString = String -> TypeIDV1
forall (version :: UUIDVersion). String -> TypeID' version
TID.unsafeParseString
{-# INLINE unsafeParseString #-}
unsafeParseText :: Text -> TypeIDV1
unsafeParseText :: Text -> TypeIDV1
unsafeParseText = Text -> TypeIDV1
forall (version :: UUIDVersion). Text -> TypeID' version
TID.unsafeParseText
{-# INLINE unsafeParseText #-}
unsafeParseByteString :: ByteString -> TypeIDV1
unsafeParseByteString :: ByteString -> TypeIDV1
unsafeParseByteString = ByteString -> TypeIDV1
forall (version :: UUIDVersion). ByteString -> TypeID' version
TID.unsafeParseByteString
{-# INLINE unsafeParseByteString #-}