aboutsummaryrefslogtreecommitdiff
path: root/src/Data
diff options
context:
space:
mode:
authorMikolaj Konarski <mikolaj.konarski@gmail.com>2024-04-21 21:47:34 +0200
committerMikolaj Konarski <mikolaj.konarski@gmail.com>2024-04-21 21:47:36 +0200
commit676ec5132670f6fd94302f9487ee6366d12ba70f (patch)
tree5954d9c05b8e9ba667ac31e5e43f9760cc332afe /src/Data
parent2c3d1e4884eee109ca72286244eef4b357d586b8 (diff)
Export more of the sized lists, including the newtype constructors
Maybe the newtype constructors can be hidden in the future and if not, maybe they should only be available from an internal module.
Diffstat (limited to 'src/Data')
-rw-r--r--src/Data/Array/Nested.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs
index 9222210..7f2c232 100644
--- a/src/Data/Array/Nested.hs
+++ b/src/Data/Array/Nested.hs
@@ -3,7 +3,9 @@
module Data.Array.Nested (
-- * Ranked arrays
Ranked,
- IxR, pattern (:.:), pattern ZIR, IIxR,
+ ListR, pattern (:::), pattern ZR,
+ IxR(..), pattern (:.:), pattern ZIR, IIxR,
+ StaticShapeR(..), pattern (:$:), pattern ZSR,
rshape, rindex, rindexPartial, rgenerate, rsumOuter1,
rtranspose, rappend, rscalar, rfromVector, runScalar,
rconstant, rfromList, rfromList1, rtoList, rtoList1,
@@ -13,7 +15,9 @@ module Data.Array.Nested (
-- * Shaped arrays
Shaped,
- IxS, pattern (:.$), pattern ZIS, IIxS,
+ ListS, pattern (::$), pattern ZS,
+ IxS(..), pattern (:.$), pattern ZIS, IIxS,
+ StaticShapeS(..), pattern (:$$), pattern ZSS,
KnownShape(..), SShape(..),
sshape, sindex, sindexPartial, sgenerate, ssumOuter1,
stranspose, sappend, sscalar, sfromVector, sunScalar,