aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-05-16 21:52:58 +0200
committerTom Smeding <tom@tomsmeding.com>2024-05-16 21:52:58 +0200
commit2ebf15f4085f633fc2f22c05684391aa9d1c4cd9 (patch)
tree079af7d9af282694882244fe8b0823f874e0a3f3 /src/Data/Array/Nested.hs
parentbad1902b2b3d8835cfe65700893c8ed8b560c893 (diff)
Convert arrays <-> XArray
Diffstat (limited to 'src/Data/Array/Nested.hs')
-rw-r--r--src/Data/Array/Nested.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs
index f451920..4b455da 100644
--- a/src/Data/Array/Nested.hs
+++ b/src/Data/Array/Nested.hs
@@ -12,6 +12,8 @@ module Data.Array.Nested (
rslice, rrev1, rreshape,
-- ** Lifting orthotope operations to 'Ranked' arrays
rlift,
+ -- ** Conversions
+ rasXArrayPrim, rfromXArrayPrim,
-- * Shaped arrays
Shaped,
@@ -24,6 +26,8 @@ module Data.Array.Nested (
sslice, srev1, sreshape,
-- ** Lifting orthotope operations to 'Shaped' arrays
slift,
+ -- ** Conversions
+ sasXArrayPrim, sfromXArrayPrim,
-- * Mixed arrays
Mixed,
@@ -31,6 +35,8 @@ module Data.Array.Nested (
KnownShapeX(..), StaticShX(..),
mgenerate, mtranspose, mappend, mfromVector, mtoVector, munScalar,
mconstant, mfromList, mtoList, mslice, mrev1, mreshape,
+ -- ** Conversions
+ masXArrayPrim, mfromXArrayPrim,
-- * Array elements
Elt(mshape, mindex, mindexPartial, mscalar, mfromList1, mtoList1, mlift, mlift2),