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 # | |
(Eq (context Par1), Eq x) => Eq (Maybe context x) Source # | |
(HApplicative c, SymbolicData x, Context x ~ c, Support x ~ Proxy c) => SymbolicData (Maybe c x) Source # | |
type Context (Maybe c x) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe | |
type Layout (Maybe c x) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe | |
type Support (Maybe c x) Source # | |
Defined in ZkFold.Symbolic.Data.Maybe |
maybe :: forall a b c. (Symbolic c, SymbolicData b, Context b ~ c) => (Representable (Layout b), Traversable (Layout b)) => b -> (a -> b) -> Maybe c a -> b Source #
nothing :: forall x c. (SymbolicData x, Representable (Layout x), Context x ~ c, Symbolic c) => Maybe c x Source #