zeolite-lang-0.1.2.3: Zeolite is a statically-typed, general-purpose programming language.

Safe HaskellSafe
LanguageHaskell2010

Base.Mergeable

Documentation

class Mergeable a where Source #

Minimal complete definition

mergeAny, mergeAll

Methods

mergeAny :: Foldable f => f a -> a Source #

mergeAll :: Foldable f => f a -> a Source #

mergeNested :: a -> a -> a Source #

mergeDefault :: a Source #

Instances
Mergeable Bool Source # 
Instance details

Defined in Base.Mergeable

Mergeable () Source # 
Instance details

Defined in Base.Mergeable

Methods

mergeAny :: Foldable f => f () -> () Source #

mergeAll :: Foldable f => f () -> () Source #

mergeNested :: () -> () -> () Source #

mergeDefault :: () Source #

Mergeable [a] Source # 
Instance details

Defined in Base.Mergeable

Methods

mergeAny :: Foldable f => f [a] -> [a] Source #

mergeAll :: Foldable f => f [a] -> [a] Source #

mergeNested :: [a] -> [a] -> [a] Source #

mergeDefault :: [a] Source #

Monoid s => Mergeable (CompiledData s) Source # 
Instance details

Defined in Compilation.CompilerState

class Monad m => MergeableM m where Source #

Minimal complete definition

mergeAnyM, mergeAllM

Methods

mergeAnyM :: (Mergeable a, Foldable f) => f (m a) -> m a Source #

mergeAllM :: (Mergeable a, Foldable f) => f (m a) -> m a Source #

mergeNestedM :: Mergeable a => m a -> m a -> m a Source #

mergeDefaultM :: Mergeable a => m a Source #