summaryrefslogtreecommitdiff
path: root/src/AST/Weaken
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-06-08 22:07:17 +0200
committerTom Smeding <tom@tomsmeding.com>2025-06-08 22:07:17 +0200
commit514c4bb0bfe908ec39ab4fa09dbf51bf7db29bd4 (patch)
tree6b72e2f82ef0bbd852621ca76195eb2f76206ab1 /src/AST/Weaken
parent56056c98b2e3dce65a0e42bce0410c083fd1f8be (diff)
More WIP sparsitysparse
Diffstat (limited to 'src/AST/Weaken')
-rw-r--r--src/AST/Weaken/Auto.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/Weaken/Auto.hs b/src/AST/Weaken/Auto.hs
index 6752c24..c6efe37 100644
--- a/src/AST/Weaken/Auto.hs
+++ b/src/AST/Weaken/Auto.hs
@@ -64,7 +64,7 @@ data SSegments (segments :: [(Symbol, [t])]) where
SSegNil :: SSegments '[]
SSegCons :: SSymbol name -> SList (Const ()) ts -> SSegments list -> SSegments ('(name, ts) : list)
-instance (KnownSymbol name, name ~ name', segs ~ '[ '(name', ts)]) => IsLabel name (SList f ts -> SSegments segs) where
+instance (KnownSymbol name, segs ~ '[ '(name, ts)]) => IsLabel name (SList f ts -> SSegments segs) where
fromLabel = \spine -> SSegCons symbolSing (slistMap (\_ -> Const ()) spine) SSegNil
auto :: KnownListSpine list => SList (Const ()) list