aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-05-19 12:56:04 +0200
committerTom Smeding <tom@tomsmeding.com>2024-05-19 12:56:04 +0200
commit01cc25516e6c641d1d5c889f20d92fb787f93c11 (patch)
tree7f7145d0b683a8a0aae294a7e705ca146a574b3c /src/Data/Array
parent390af124e6cb50c4a2cd9006662fc26eef02889a (diff)
Update TODOs
Diffstat (limited to 'src/Data/Array')
-rw-r--r--src/Data/Array/Nested/Internal.hs40
1 files changed, 1 insertions, 39 deletions
diff --git a/src/Data/Array/Nested/Internal.hs b/src/Data/Array/Nested/Internal.hs
index a61e7d6..19e6545 100644
--- a/src/Data/Array/Nested/Internal.hs
+++ b/src/Data/Array/Nested/Internal.hs
@@ -30,45 +30,7 @@
{-|
TODO:
-* Allow downtyping certain dimensions, and write conversions between Mixed,
- Ranked and Shaped
-
-* Mikolaj wants these:
-
- About your wishlist of operations: these are already there
-
- OR.index
- OR.append
- OR.transpose
-
- These can be easily lifted from the definition for XArray (5min work):
-
- OR.scalar
- OR.unScalar
- OR.constant
-
- These should not be hard:
-
- OR.fromList
- ORB.toList . OR.unravel
- OR.ravel . ORB.fromList
- OR.slice
- OR.rev
- OR.reshape
-
- though it's a bit unfortunate that we end up needing toList. Looking in
- horde-ad I see that you seem to need them to do certain operations in Haskell
- that orthotope doesn't support?
-
- For this one we'll need to see to what extent you really need it, and what API
- you'd need precisely:
-
- OR.rerank
-
- and for these we have an API design question:
-
- OR.toVector
- OR.fromVector
+* Write conversions between Mixed, Ranked and Shaped
-}