BSD-3-Clause licensed by Xy Ren
Maintained by [email protected]
This version can be pinned in stack with:rec-smallarray-0.1.0.0@sha256:d79627e8790f2d5a19192e5df790a292237929b9572cecbfbcf3648a77b2e14c,2857

Module documentation for 0.1.0.0

Depends on 2 packages(full list with versions):

rec-smallarray

GitHub Workflow Status Hackage

An immutable extensible record type based on SmallArrays, intended to provide fast reads on small structures.

Asymptotics

  • Index: Amorized O(1) with low constant factor
  • Update: O(n)
  • Slice: O(1)
  • Cons: O(n)

Note that this structure slows down GC when its size exceeds 128.

Contribution

This library started out as a module in cleff, an extensible effects library, and it needs to continue accommodating that. Contribution is welcome as long as it does not impede this library’s performance nor increase its dependency footprint.

Changes

Changelog for rec-smallarray

0.1.0.0 (2022-02-04)

  • Initial API