| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Winery.Internal
Documentation
Instances
| Eq Encoding # | |
| Show Encoding # | |
| IsString Encoding # | |
Defined in Data.Winery.Internal.Builder Methods fromString :: String -> Encoding # | |
| Semigroup Encoding # | |
| Monoid Encoding # | |
| Serialise Encoding # | |
Defined in Data.Winery Methods schemaVia :: Proxy Encoding -> [TypeRep] -> Schema # toEncoding :: Encoding -> Encoding # | |
data EncodingMulti #
encodeMulti :: (EncodingMulti -> EncodingMulti) -> Encoding #
encodeItem :: Encoding -> EncodingMulti -> EncodingMulti #
type Decoder = (->) ByteString #
data DecodeException #
Constructors
| InsufficientInput | |
| InvalidTag |
Instances
| Eq DecodeException # | |
Defined in Data.Winery.Internal Methods (==) :: DecodeException -> DecodeException -> Bool # (/=) :: DecodeException -> DecodeException -> Bool # | |
| Read DecodeException # | |
Defined in Data.Winery.Internal Methods readsPrec :: Int -> ReadS DecodeException # readList :: ReadS [DecodeException] # | |
| Show DecodeException # | |
Defined in Data.Winery.Internal Methods showsPrec :: Int -> DecodeException -> ShowS # show :: DecodeException -> String # showList :: [DecodeException] -> ShowS # | |
| Exception DecodeException # | |
Defined in Data.Winery.Internal Methods toException :: DecodeException -> SomeException # | |
word16be :: ByteString -> Word16 #
word32be :: ByteString -> Word32 #
word64be :: ByteString -> Word64 #
unsafeIndex :: String -> [a] -> Int -> a #
Constructors
| Strategy | |
Fields
| |
type StrategyError = Doc AnsiStyle #
errorStrategy :: Doc AnsiStyle -> Strategy a #
newtype TransFusion f g a #
Constructors
| TransFusion | |
Fields
| |
Instances
| Functor (TransFusion f g) # | |
Defined in Data.Winery.Internal Methods fmap :: (a -> b) -> TransFusion f g a -> TransFusion f g b # (<$) :: a -> TransFusion f g b -> TransFusion f g a # | |
| Applicative (TransFusion f g) # | |
Defined in Data.Winery.Internal Methods pure :: a -> TransFusion f g a # (<*>) :: TransFusion f g (a -> b) -> TransFusion f g a -> TransFusion f g b # liftA2 :: (a -> b -> c) -> TransFusion f g a -> TransFusion f g b -> TransFusion f g c # (*>) :: TransFusion f g a -> TransFusion f g b -> TransFusion f g b # (<*) :: TransFusion f g a -> TransFusion f g b -> TransFusion f g a # | |