Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Common restriction "r-" instances
Renamed from Data.TypedEncoding.Instances.Restriction.Common
(v0.3)
Since: 0.2.0.0
Documentation
>>>
import qualified Data.Text as T
encWord8Dec :: IsStringR str => Encoding (Either EncodeEx) "r-Word8-decimal" "r-Word8-decimal" c str Source #
encIntDec :: IsStringR str => Encoding (Either EncodeEx) "r-Int-decimal" "r-Int-decimal" c str Source #
Orphan instances
Applicative f => Decode f "r-Int-decimal" "r-Int-decimal" c str Source # | |
Applicative f => Decode f "r-Word8-decimal" "r-Word8-decimal" c str Source # | |
(IsString str, Applicative f) => ToEncString f "r-Int-decimal" "r-Int-decimal" Int str Source # | |
(IsString str, Applicative f) => ToEncString f "r-Word8-decimal" "r-Word8-decimal" Word8 str Source # | |
IsStringR str => Encode (Either EncodeEx) "r-Int-decimal" "r-Int-decimal" c str Source # | |
IsStringR str => Encode (Either EncodeEx) "r-Word8-decimal" "r-Word8-decimal" c str Source # | |
IsStringR str => Validate (Either RecreateEx) "r-Int-decimal" "r-Int-decimal" c str Source # | |
validation :: Validation (Either RecreateEx) "r-Int-decimal" "r-Int-decimal" c str Source # | |
IsStringR str => Validate (Either RecreateEx) "r-Word8-decimal" "r-Word8-decimal" c str Source # | |
validation :: Validation (Either RecreateEx) "r-Word8-decimal" "r-Word8-decimal" c str Source # | |
(IsStringR str, UnexpectedDecodeErr f, Applicative f) => FromEncString (f :: Type -> Type) "r-Word8-decimal" "r-Word8-decimal" Word8 str Source # | |