folds: Beautiful Folding

[ bsd3, comonads, data, enumerator, library ] [ Propose Tags ] [ Report a vulnerability ]

This package is a playground full of comonadic folds.

This style of fold is documented in "Cellular Automata, Part II: PNGs and Moore"

This package can be seen as what happens if you chase Max Rabkin's "Beautiful Folding" to its logical conclusion.

More information on this approach can be found in the "Another lovely example of type class morphisms" and "More beautiful fold zipping" posts by Conal Elliott, as well as in Gabriel Gonzales' "Composable Streaming Folds"


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
optimizeEnabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.5.0.1, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8
Change log CHANGELOG.markdown
Dependencies adjunctions (>=4.2 && <5), base (>=4.9 && <5), bifunctors (>=4 && <6), comonad (>=4 && <6), constraints (>=0.4 && <1), contravariant (>=0.4.2 && <2), data-reify (>=0.6 && <0.7), distributive (>=0.3 && <1), lens (>=4 && <6), mtl (>=2.0.1 && <2.4), pointed (>=4 && <6), profunctors (>=5 && <6), reflection (>=1.3 && <3), semigroupoids (>=4 && <7), semigroups (>=0.8 && <1), tagged (>=0.7 && <1), transformers (>=0.3 && <0.7), unordered-containers (>=0.2 && <0.3), vector (>=0.10 && <0.14) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.2
License BSD-3-Clause
Copyright Copyright (C) 2009-2013 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 2 made by ryanglscott at 2023-03-12T19:53:38Z
Category Data, Comonads, Enumerator
Home page http://github.com/ekmett/folds
Bug tracker http://github.com/ekmett/folds/issues
Source repo head: git clone git://github.com/ekmett/folds.git
Uploaded by ryanglscott at 2022-05-18T11:18:35Z
Distributions LTSHaskell:0.7.8, NixOS:0.7.8, Stackage:0.7.8
Reverse Dependencies 5 direct, 3 indirect [details]
Downloads 12460 total (43 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-18 [all 1 reports]

Readme for folds-0.7.8

[back to package description]

folds

Hackage Build Status

A playground for working with different kinds of comonadic folds.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett