aboutsummaryrefslogtreecommitdiff
path: root/src/AST/Sparse.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-07-23 21:09:59 +0200
committerTom Smeding <tom@tomsmeding.com>2025-07-23 21:09:59 +0200
commitf6b5850f949eb671f0c7038db6dff80ca23ed946 (patch)
tree9cbf14f3fe9512044b744549a4bad85a2a6a3cc0 /src/AST/Sparse.hs
parent888bf4ed19afb2970a5f449fc285d3ef217baed8 (diff)
WIP pruneExpr in AST.Countfancy-count
Diffstat (limited to 'src/AST/Sparse.hs')
-rw-r--r--src/AST/Sparse.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/AST/Sparse.hs b/src/AST/Sparse.hs
index 93258b7..2a29799 100644
--- a/src/AST/Sparse.hs
+++ b/src/AST/Sparse.hs
@@ -85,9 +85,6 @@ withInj2 (Inj f) (Inj g) k = Inj (k f g)
withInj2 Noinj _ _ = Noinj
withInj2 _ Noinj _ = Noinj
-use :: Ex env a -> Ex env b -> Ex env b
-use a b = elet a $ weakenExpr WSink b
-
-- | This function produces quadratically-sized code in the presence of nested
-- dynamic sparsity. TODO can this be improved?
sparsePlusS