From 676ec5132670f6fd94302f9487ee6366d12ba70f Mon Sep 17 00:00:00 2001 From: Mikolaj Konarski Date: Sun, 21 Apr 2024 21:47:34 +0200 Subject: 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. --- src/Data/Array/Nested.hs | 8 ++++++-- 1 file 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, -- cgit v1.2.3-70-g09d2