Additional shape types for the comfort-array package

Version on this page:0.0
LTS Haskell 22.29:0.0@rev:1
Stackage Nightly 2024-07-21:0.0@rev:1
Latest on Hackage:0.0@rev:1

See all snapshots comfort-array-shape appears in

BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:comfort-array-shape-0.0@sha256:95b0d6272a89223ce054c4fb9eef9e858d30dd7b3a7c30b8442dfbc2472f7076,2497

Module documentation for 0.0

Some extra array shape types additional to the ones in the comfort-array package. These require some more package dependencies and use type-encoded natural numbers.

  • Static.ZeroBased: Like Shape.ZeroBased but with type-encoded number as size.

  • Simplex: Simplices of any dimension, where the dimension is encoded in the type. Only a private module for demonstration. Production-ready implementation in comfort-array.