From 5763bf70dc67c5437207ff8e9dd08585d2ea5384 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 9 Jun 2024 20:47:09 +0200 Subject: Concatenation of arrays for M and R What should the type of sconcat be? --- src/Data/Array/Nested.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Data/Array/Nested.hs') diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs index 6a919e8..7cc1de3 100644 --- a/src/Data/Array/Nested.hs +++ b/src/Data/Array/Nested.hs @@ -7,7 +7,7 @@ module Data.Array.Nested ( IxR(.., ZIR, (:.:)), IIxR, ShR(.., ZSR, (:$:)), IShR, rshape, rrank, rindex, rindexPartial, rgenerate, rsumOuter1, - rtranspose, rappend, rscalar, rfromVector, rtoVector, runScalar, + rtranspose, rappend, rconcat, rscalar, rfromVector, rtoVector, runScalar, rrerank, rreplicate, rreplicateScal, rfromListOuter, rfromList1, rfromList1Prim, rtoListOuter, rtoList1, rslice, rrev1, rreshape, riota, @@ -25,6 +25,7 @@ module Data.Array.Nested ( ShS(.., ZSS, (:$$)), KnownShS(..), sshape, sindex, sindexPartial, sgenerate, ssumOuter1, stranspose, sappend, sscalar, sfromVector, stoVector, sunScalar, + -- TODO: sconcat? What should its type be? srerank, sreplicate, sreplicateScal, sfromListOuter, sfromList1, sfromList1Prim, stoListOuter, stoList1, sslice, srev1, sreshape, siota, @@ -39,7 +40,7 @@ module Data.Array.Nested ( IxX(..), IIxX, KnownShX(..), StaticShX(..), mshape, mindex, mindexPartial, mgenerate, msumOuter1, - mtranspose, mappend, mscalar, mfromVector, mtoVector, munScalar, + mtranspose, mappend, mconcat, mscalar, mfromVector, mtoVector, munScalar, mrerank, mreplicate, mreplicateScal, mfromListOuter, mfromList1, mfromList1Prim, mtoListOuter, mtoList1, mslice, mrev1, mreshape, miota, @@ -66,7 +67,7 @@ module Data.Array.Nested ( NumElt, FloatElt, ) where -import Prelude hiding (mappend) +import Prelude hiding (mappend, mconcat) import Data.Array.Mixed.Internal.Arith import Data.Array.Mixed.Permutation -- cgit v1.2.3-70-g09d2