Safe Haskell | None |
---|---|
Language | Haskell2010 |
Orphan instances
(ToHttpApiData a, Predicate p a) => ToHttpApiData (Refined p a) Source # | |
toUrlPiece :: Refined p a -> Text # toEncodedUrlPiece :: Refined p a -> Builder # toHeader :: Refined p a -> ByteString # toQueryParam :: Refined p a -> Text # | |
(FromHttpApiData a, Predicate p a) => FromHttpApiData (Refined p a) Source # | |
parseUrlPiece :: Text -> Either Text (Refined p a) # parseHeader :: ByteString -> Either Text (Refined p a) # |