aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-05-20 16:16:19 +0200
committerTom Smeding <tom@tomsmeding.com>2024-05-20 16:16:19 +0200
commit6d624d24871ee30e36c73c890c8f4a7cdae54c1c (patch)
treec4a222df5e336a28fa1af9daf655b62fc4cde49c /src/Data/Array/Nested.hs
parent60c3927c4694f7c212f73498aee96a663e17c88c (diff)
Some conversions
Diffstat (limited to 'src/Data/Array/Nested.hs')
-rw-r--r--src/Data/Array/Nested.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs
index f712301..438f144 100644
--- a/src/Data/Array/Nested.hs
+++ b/src/Data/Array/Nested.hs
@@ -2,7 +2,7 @@
{-# LANGUAGE PatternSynonyms #-}
module Data.Array.Nested (
-- * Ranked arrays
- Ranked,
+ Ranked(Ranked),
ListR(ZR, (:::)),
IxR(.., ZIR, (:.:)), IIxR,
ShR(.., ZSR, (:$:)),
@@ -14,9 +14,10 @@ module Data.Array.Nested (
rlift,
-- ** Conversions
rasXArrayPrim, rfromXArrayPrim,
+ rcastToShaped,
-- * Shaped arrays
- Shaped,
+ Shaped(Shaped),
ListS(ZS, (::$)),
IxS(.., ZIS, (:.$)), IIxS,
ShS(.., ZSS, (:$$)), KnownShS(..),
@@ -28,6 +29,7 @@ module Data.Array.Nested (
slift,
-- ** Conversions
sasXArrayPrim, sfromXArrayPrim,
+ stoRanked,
-- * Mixed arrays
Mixed,
@@ -37,6 +39,7 @@ module Data.Array.Nested (
mconstant, mfromList, mtoList, mslice, mrev1, mreshape,
-- ** Conversions
masXArrayPrim, mfromXArrayPrim,
+ mtoRanked, mcastToShaped,
-- * Array elements
Elt(mshape, mindex, mindexPartial, mscalar, mfromList1, mtoList1, mlift, mlift2),