lambda-streams

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i lambda-streams

Weekly Downloads

0

Version

0.1.2

License

BSD-3-Clause

Unpacked Size

199 kB

Total Files

82

Last publish

Collaborators

  • ristostevcev