arrow-list: List arrows for Haskell.

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

This small Haskell library provides some type class, types and functions to work with list (and list-like) arrows. List arrows represent computations that may return multiple outputs. Making functions that return lists an instance of both the Category and Arrow type class allow you to easily compose multiple computations into one with standard building blocks.


[Skip to Readme]

Modules

[Last Documentation]

  • Control
    • Arrow
      • Kleisli
        • Control.Arrow.Kleisli.Class
      • Control.Arrow.List
        • Control.Arrow.List.Class
      • ListLike
        • Control.Arrow.ListLike.Class
      • Control.Arrow.Sequence
    • Monad
      • Control.Monad.Sequence

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.2.0, 0.6, 0.6.1, 0.6.1.4, 0.6.1.5, 0.7, 0.7.1
Change log CHANGELOG.md
Dependencies base (>=4 && <5), containers (>=0.3 && <0.7), fail (>=4.9 && <4.10), mtl (>=1.1 && <2.3) [details]
License BSD-3-Clause
Author Sebastiaan Visser
Maintainer code@silk.co
Category Control
Home page https://github.com/silkapp/arrow-list
Bug tracker https://github.com/silkapp/arrow-list/issues
Source repo head: git clone https://github.com/silkapp/arrow-list.git
Uploaded by ErikHesselink at 2020-10-18T07:56:38Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7649 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2020-10-18 [all 3 reports]

Readme for arrow-list-0.7.1

[back to package description]

List arrows for Haskell.

Build Status

This small Haskell library provides some type classes, types and functions to work with list arrows and the more generalized container arrows. List arrows represent computations that may return multiple outputs. Making functions that return lists an instance of both the Category and Arrow type classes allow you to easily compose multiple computations into one with standard building blocks.

This package provides:

  • A type class ArrowList for embedding functions that produce a list of outputs into some list arrow.

  • A list of utility functions for working with list-arrows, these functions are based on the ArrowList type class so they are not tied one specific instance.

  • A concrete list arrow type that is implemented as a Kleisli arrow over the ListT list monad transformer. In short, you can both build pure list arrows and list arrows that produce tributary effects.

  • Not list arrow specific: A type class ArrowKleisli for embedding monadic computations into an arrow.

  • A type class ArrowF for embedding functions that produce a some Foldable + Alternative functor of outputs into some container arrow.