Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Foldable (Maybe context) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe fold :: Monoid m => Maybe context m -> m # foldMap :: Monoid m => (a -> m) -> Maybe context a -> m # foldMap' :: Monoid m => (a -> m) -> Maybe context a -> m # foldr :: (a -> b -> b) -> b -> Maybe context a -> b # foldr' :: (a -> b -> b) -> b -> Maybe context a -> b # foldl :: (b -> a -> b) -> b -> Maybe context a -> b # foldl' :: (b -> a -> b) -> b -> Maybe context a -> b # foldr1 :: (a -> a -> a) -> Maybe context a -> a # foldl1 :: (a -> a -> a) -> Maybe context a -> a # toList :: Maybe context a -> [a] # null :: Maybe context a -> Bool # length :: Maybe context a -> Int # elem :: Eq a => a -> Maybe context a -> Bool # maximum :: Ord a => Maybe context a -> a # minimum :: Ord a => Maybe context a -> a # | |
Traversable (Maybe context) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe | |
Functor (Maybe context) Source # | |
(SymbolicOutput x, Context x ~ c, Conditional (Bool c) x) => Conditional (Bool c) (Maybe c x) Source # | |
(SymbolicOutput x, Context x ~ c, Eq (Bool c) x) => Eq (Bool c) (Maybe c x) Source # | |
Generic (Maybe context x) Source # | |
(Eq (context Par1), Eq x) => Eq (Maybe context x) Source # | |
(SymbolicOutput x, Context x ~ c) => SymbolicData (Maybe c x) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe type Context (Maybe c x) :: (Type -> Type) -> Type Source # type Support (Maybe c x) Source # arithmetize :: Maybe c x -> Support (Maybe c x) -> Context (Maybe c x) (Layout (Maybe c x)) Source # payload :: Maybe c x -> Support (Maybe c x) -> Payload (Maybe c x) (WitnessField (Context (Maybe c x))) Source # restore :: Context (Maybe c x) ~ c0 => (Support (Maybe c x) -> (c0 (Layout (Maybe c x)), Payload (Maybe c x) (WitnessField c0))) -> Maybe c x Source # | |
type Rep (Maybe context x) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe type Rep (Maybe context x) = D1 ('MetaData "Maybe" "ZkFold.Symbolic.Data.Maybe" "symbolic-base-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Maybe" 'PrefixI 'True) (S1 ('MetaSel ('Just "isJust") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Bool context)) :*: S1 ('MetaSel ('Just "fromJust") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 x))) | |
type Context (Maybe c x) Source # | |
type Layout (Maybe c x) Source # | |
type Payload (Maybe c x) Source # | |
type Support (Maybe c x) Source # | |