arrow-list

List arrows for Haskell. https://github.com/silkapp/arrow-list

Version on this page:0.7
Stackage Nightly 2017-08-20:0.7
LTS Haskell 9.1:0.7
Stackage Nightly 2017-08-20:0.7
Latest on Hackage:0.7
BSD3 licensed by Sebastiaan Visser
Maintained by code@silk.co

Module documentation for 0.7

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.

Changes

Changelog

0.7

  • Renamed modules to not clash with hxt Control.Arrow.ArrowF => Control.Arrow.ArrowListLike.Class Control.Arrow.ArrowKleisli => Control.Arrow.ArrowKleisli.Class * Control.Arrow.ArrowList => Control.Arrow.ArrowList.Class

  • Renamed the ArrowF class to ArrowListLike.

0.6.1.5

  • Allow mtl 2.2.

0.6.1.4

  • arrow-list is now maintained by Silk and located at https://www.github.com/silkapp/arrow-list
Depends on:
Used by 1 package:
comments powered byDisqus