cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Internal.Orphans.Misc

Orphan instances

Data CharPosition Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CharPosition -> c CharPosition Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CharPosition Source #

toConstr :: CharPosition -> Constr Source #

dataTypeOf :: CharPosition -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CharPosition) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CharPosition) Source #

gmapT :: (forall b. Data b => b -> b) -> CharPosition -> CharPosition Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CharPosition -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CharPosition -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> CharPosition -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CharPosition -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CharPosition -> m CharPosition Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CharPosition -> m CharPosition Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CharPosition -> m CharPosition Source #

Data DecodingError Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DecodingError -> c DecodingError Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DecodingError Source #

toConstr :: DecodingError -> Constr Source #

dataTypeOf :: DecodingError -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DecodingError) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DecodingError) Source #

gmapT :: (forall b. Data b => b -> b) -> DecodingError -> DecodingError Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DecodingError -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DecodingError -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DecodingError -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DecodingError -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DecodingError -> m DecodingError Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DecodingError -> m DecodingError Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DecodingError -> m DecodingError Source #

Data DecoderError Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DecoderError -> c DecoderError Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DecoderError Source #

toConstr :: DecoderError -> Constr Source #

dataTypeOf :: DecoderError -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DecoderError) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DecoderError) Source #

gmapT :: (forall b. Data b => b -> b) -> DecoderError -> DecoderError Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DecoderError -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DecoderError -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DecoderError -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DecoderError -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DecoderError -> m DecoderError Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DecoderError -> m DecoderError Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DecoderError -> m DecoderError Source #

Data DeserialiseFailure Source # 
Instance details

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeserialiseFailure -> c DeserialiseFailure Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeserialiseFailure Source #

toConstr :: DeserialiseFailure -> Constr Source #

dataTypeOf :: DeserialiseFailure -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeserialiseFailure) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeserialiseFailure) Source #

gmapT :: (forall b. Data b => b -> b) -> DeserialiseFailure -> DeserialiseFailure Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeserialiseFailure -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeserialiseFailure -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DeserialiseFailure -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeserialiseFailure -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeserialiseFailure -> m DeserialiseFailure Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeserialiseFailure -> m DeserialiseFailure Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeserialiseFailure -> m DeserialiseFailure Source #

Num Coin Source # 
Instance details

Integral Coin Source # 
Instance details

Real Coin Source #

These instances originally existed on the Lovelace type. As the Lovelace type is deleted and we use L.Coin instead, these instances are added to L.Coin. The instances are purely for the convenience of writing expressions involving L.Coin but be aware that not all uses of these typeclasses are valid.

Instance details

Pretty Error Source # 
Instance details

Methods

pretty :: Error -> Doc ann #

prettyList :: [Error] -> Doc ann #

Semigroup (AlonzoPParams StrictMaybe era) Source # 
Instance details

Semigroup (BabbagePParams StrictMaybe era) Source # 
Instance details

Semigroup (ConwayPParams StrictMaybe era) Source # 
Instance details

Semigroup (ShelleyPParams StrictMaybe era) Source # 
Instance details

IsList (ListMap k a) Source # 
Instance details

Associated Types

type Item (ListMap k a) 
Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

type Item (ListMap k a) = (k, a)

Methods

fromList :: [Item (ListMap k a)] -> ListMap k a Source #

fromListN :: Int -> [Item (ListMap k a)] -> ListMap k a Source #

toList :: ListMap k a -> [Item (ListMap k a)] Source #