An open API service indexing awesome lists of open source software.

https://github.com/jozefg/folds-common

A conglomeration of folds.
https://github.com/jozefg/folds-common

Last synced: 2 months ago
JSON representation

A conglomeration of folds.

Awesome Lists containing this project

README

        

# folds-common

[![build status][build]][travis]
[![hackage badge][badge]][hackage]

One nice thing about the [`foldl`][foldl] library is that it comes
with a "Batteries Included" suite of common folds to be used with its
combinators.

This package ports a lot of those combinators to use the
[`folds`][folds] package. Since `foldl` only provides left folds,
this package provides many additional folds that take advantage of
the laziness and associativity of a lot of folding operations.

[folds]: http://hackage.haskell.org/package/folds
[foldl]: http://hackage.haskell.org/package/foldl
[build]: https://travis-ci.org/jozefg/folds-common.svg?branch=master
[travis]: https://travis-ci.org/jozefg/folds-common
[badge]: https://img.shields.io/hackage/v/folds-common.svg
[hackage]: http://hackage.haskell.org/package/folds-common