aqueduct

Package Version Hex Docs

Aqueduct is a simple, minimal library for working with Streams.

Name

The name comes from the name of the main data type - Stream. Of course, that name for a package is taken on Hex, and so is brook - the other name idea I had, which is a name for a small river. Then I found aqueduct as a synonym for stream, and since it wasn’t taken, I decided to use it.

Background

It was originally a module of the mesv library I was writing, but since it got a bit too big and elaborate to be a simple module, I decided to split it off into a separate package.

You might notice that it’s almost a copy of gleam_yielder package.

The reason it exists is because I wanted to implement it myself, and had a few ideas that would be hard (or even impossible) to implement when using Yielders, since the data types were opaque.

You are welcome to use this package, but as it is not a priority for me at the moment, it doesn’t have good documentation, in the sense that it lacks examples. I think I did a pretty good job of explaining in words the behaviour of all of the functions provided though.

Installation

Simply use the Gleam CLI tool to add this library to your project.

gleam add aqueduct@1

Further documentation can be found at Hex Docs.

Roadmap

Search Document