@hackage numhask-array0.1.1.0
See readme.md
Deprecated
Tested Compilers
Dependencies (12)
- QuickCheck
- adjunctions >=4.0 && <5
- base >=4.7 && <5
- deepseq >=1.4.2.0 && <2
- dimensions
- distributive >=0.4 && <0.6 Show all…
Dependents (6)
@hackage/online, @hackage/mealy, @hackage/chart-svg, @hackage/ephemeral, @hackage/acme-everything, @hackage/chart-svg-various
numhask-array
An experimental array with:
- a polymorphic container
- shape specified at the type level
- Representable instances
- numhask heirarchy instances
See Examples for the emergent API.
Workflow
stack build --test --ghc-options -freverse-errors
To try out in ghci:
stack ghci
> :set -XDataKinds
> :set -XOverloadedLists
> import NumHask.Prelude
> let a = [0..5] :: Array [] '[2,3] Int
> a + a
[[0, 2, 4],
[6, 8, 10]]
