diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-10-09 09:25:07 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-10-09 09:25:07 +0200 |
commit | 62c4d56bfb75e933b5307930859f6c9366217ab1 (patch) | |
tree | 60579d096304037c6990b424d618f077a2aeccc3 /src/Data/Array/Nested.hs | |
parent | 48bb58de893bdd28a8bae534bf618fb5790833ca (diff) |
Add rToMixed and stoMixed
These are somewhat redundant because one can just open up the Ranked and
Shaped newtype constructors, but let's complete the triangle of
conversion functions.
Diffstat (limited to 'src/Data/Array/Nested.hs')
-rw-r--r-- | src/Data/Array/Nested.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs index 7eb7b18..e4bd517 100644 --- a/src/Data/Array/Nested.hs +++ b/src/Data/Array/Nested.hs @@ -18,7 +18,7 @@ module Data.Array.Nested ( rlift, rlift2, -- ** Conversions rtoXArrayPrim, rfromXArrayPrim, - rcastToShaped, + rcastToShaped, rtoMixed, rfromOrthotope, rtoOrthotope, -- * Shaped arrays @@ -39,7 +39,7 @@ module Data.Array.Nested ( slift, slift2, -- ** Conversions stoXArrayPrim, sfromXArrayPrim, - stoRanked, + stoRanked, stoMixed, sfromOrthotope, stoOrthotope, -- * Mixed arrays @@ -78,6 +78,8 @@ module Data.Array.Nested ( KnownPerm(..), NumElt, FloatElt, Rank, + Replicate, + MapJust, ) where import Prelude hiding (mappend, mconcat) |