An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

streams

Various Haskell 2010 stream comonads. * Data.Stream.Future provides a coinductive anti-causal stream, or non-empty ZipList. The comonad provides access to only the tail of the stream. Like a conventional ZipList, this is not a monad. Data.Stream.Future.Skew provides a non-empty skew-binary random-access-list with the semantics of Data.Stream.Future. As with Data.Stream.Future this stream is not a Monad, since the Applicative instance zips streams of potentially differing lengths. The random-access-list structure provides a number of operations logarithmic access time, but makes Data.Stream.Future.Skew.cons less productive. Where applicable Data.Stream.Infinite.Skew may be more efficient, due to a lazier and more efficient Applicative instance. Data.Stream.Infinite provides a coinductive infinite anti-causal stream. The Comonad provides access to the tail of the stream and the Applicative zips streams together. Unlike Future, infinite stream form a Monad. The monad diagonalizes the Stream, which is consistent with the behavior of the Applicative, and the view of a Stream as a isomorphic to the reader monad from the natural numbers. Being infinite in length, there is no Alternative instance. Data.Stream.Infinite.Skew provides an infinite skew-binary random-access-list with the semantics of Data.Stream.Infinite Since every stream is infinite, the Applicative instance can be considerably less strict than the corresponding instance for Data.Stream.Future.Skew and performs asymptotically better. Data.Stream.Infinite.Functional.Zipper provides a bi-infinite sequence, represented as a pure function with an accumulating parameter added to optimize moving the current focus. Data.Stream.Supply provides a comonadic supply of unique values, which are generated impurely as the tree is explored.

Ecosystem
hackage.haskell.org
Latest Release
3.3.3
over 1 year ago
Versions
36
Downloads
30,052 total
Dependent Packages
4
Dependent Repos
140
Top 8.8% on hackage.haskell.org
ersatz 0.4.13
A monad for expressing SAT or QSAT problems using observable sharing. For example, we can expres...
28 versions - Latest release: over 3 years ago - 2 dependent packages - 118 dependent repositories - 20.1 thousand downloads total - 64 stars on GitHub - 3 maintainers
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/streams
spec
License BSD-3-Clause
First Release about 15 years ago
Last Synced 3 days ago
Repository
Stars 23 on GitHub
Forks 14 on GitHub
Commits 104
Committers 12
Avg per Author 8.667
DDS 0.471
Rankings on hackage.haskell.org
Overall Top 8.1%
Downloads Top 5.0%
Dependent packages Top 4.6%
Dependent repos Top 4.2%