Copyright | 2013-2017 Luis Pedro Coelho |
---|---|

License | MIT |

Maintainer | luis@luispedro.org |

Safe Haskell | None |

Language | Haskell2010 |

Simple algorithms packaged as Conduits

# Documentation

uniqueOnC :: (Ord b, Monad m) => (a -> b) -> Conduit a m a Source #

Unique conduit.

Note that this conduit **does not** assume that the input is sorted. Instead
it uses a `Set`

to store previously seen elements. Thus, memory usage
is O(N).