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

Language | Haskell2010 |

Construct monoids with do notation. For more information see https://github.com/tserduke/do-list#readme.

# Documentation

newtype DoMonoidM m r Source #

`DoMonoidM`

is not a real instance of `Monad`

, `Applicative`

or `Functor`

.
It pretends being them with a phantom result type.

DoM m |

Monoid a => Monad (DoMonoidM a) Source # | Monadic operations are not supported. |

Functor (DoMonoidM a) Source # | Functor operations are not supported. |

Applicative (DoMonoidM a) Source # | Applicative operations are not supported. |

IsList m => IsList (DoMonoidM m r) Source # | |

Eq m => Eq (DoMonoidM m r) Source # | |

Ord m => Ord (DoMonoidM m r) Source # | |

Read m => Read (DoMonoidM m r) Source # | |

Show m => Show (DoMonoidM m r) Source # | |

IsString m => IsString (DoMonoidM m r) Source # | |

type Item (DoMonoidM m r) Source # | |