Safe Haskell | None |
---|---|

Language | Haskell2010 |

# Documentation

class Mergeable t where Source #

Nothing

mergeMap :: CommutativeId m => (a -> m) -> t a -> m Source #

## Instances

Mergeable [] Source # | |

Defined in Data.Mergeable | |

Mergeable Vector Source # | |

Defined in Data.Mergeable |

class Functor t => Mergeable1 t where Source #

Nothing

mergeMap1 :: Commutative m => (a -> m) -> t a -> m Source #

merge1 :: Commutative m => t m -> m Source #

## Instances

Mergeable1 NonEmpty Source # | |

Defined in Data.Mergeable mergeMap1 :: Commutative m => (a -> m) -> NonEmpty a -> m Source # merge1 :: Commutative m => NonEmpty m -> m Source # |