Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 2f81268

Browse files
committed
Generalize stripAnnotations.
1 parent 9eae24e commit 2f81268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semantic-core/src/Data/Core.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ annWith :: (Carrier sig m, Member Core sig) => CallStack -> m a -> m a
194194
annWith callStack = maybe id (fmap send . Ann) (stackLoc callStack)
195195

196196

197-
stripAnnotations :: (Member Core sig, Syntax sig) => Term sig a -> Term sig a
197+
stripAnnotations :: (Member Core sig, HFunctor sig, forall g . Functor g => Functor (sig g)) => Term sig a -> Term sig a
198198
stripAnnotations (Var v) = Var v
199199
stripAnnotations (Term t)
200200
| Just c <- prj t, Ann _ b <- c = stripAnnotations b

0 commit comments

Comments
 (0)