diff options
author | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2025-05-16 13:42:47 +0200 |
---|---|---|
committer | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2025-05-16 13:42:47 +0200 |
commit | 5c926beb1aeed724787812c35a70c5ae362bc1f7 (patch) | |
tree | e6f1501025268ffa8629aebd6eb5ce0f4e67cdc7 /src/Data/Array/Nested/Convert.hs | |
parent | f969fb5d6172761a2148221b68a0384b53368f8c (diff) |
Generalize some shape conversion functions
Diffstat (limited to 'src/Data/Array/Nested/Convert.hs')
-rw-r--r-- | src/Data/Array/Nested/Convert.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Array/Nested/Convert.hs b/src/Data/Array/Nested/Convert.hs index 92bc3b4..c5cd293 100644 --- a/src/Data/Array/Nested/Convert.hs +++ b/src/Data/Array/Nested/Convert.hs @@ -83,7 +83,7 @@ rcastToShaped (Ranked arr) targetsh , Refl <- lemRankMapJust targetsh = mcastToShaped targetsh arr -ixrFromIxS :: IIxS sh -> IIxR (Rank sh) +ixrFromIxS :: IxS sh i -> IxR (Rank sh) i ixrFromIxS ZIS = ZIR ixrFromIxS (i :.$ ix) = i :.: ixrFromIxS ix |