package lambda_streams

All checked builds pass
  1. Overview
  2. Docs
Lambda-based streaming library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.2.tar.gz
md5=8c1ce04ee769b56434696bd57aee1a5b
sha512=9bb794f3852da60e536277f41ca5c6db678e5f0f5100ca13bf4c054a8d5c17834891c9ba2d73ddd35dc4f52f4b8be6076611b8f8c413eb6e93d61c161c67f9aa

Description

A simple and principled streaming library based on lambdas

Added to opam-repository:

README

lambda-streams

A lambda-based streaming library. Read the introduction here.

Installation

For native ocaml:

opam install lambda-streams

For bucklescript:

yarn add lambda-streams

Documentation

See documentation

Examples

There are several kinds of streams. The simplest is a Finite.Sync stream:

# #require "lambda_streams";;
# open Lambda_streams;;
# let foo = Finite.Sync.from_list [1; 2; 3];;
val foo : int Finite.Sync.input = <fun>
# let bar = foo |> Finite.Sync.map (( * ) 2) |> Finite.Sync.to_list;;
val bar : int list = [2; 4; 6]

License

See LICENSE

Dependencies (2)

  1. dune >= "2.2.0"
  2. ocaml >= "4.06.1"

Dev Dependencies (4)

  1. odoc >= "1.5.0" & with-doc
  2. mdx >= "1.6.0" & with-test
  3. fmt >= "0.8.8" & with-test
  4. alcotest >= "1.0.1" & with-test

Optional Dependencies

None

Conflicts

None

Build status

Results of building lambda_streams with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1.2 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure