diff --git a/src/Data/Syntax/Assignment.hs b/src/Data/Syntax/Assignment.hs index ed0745722..90dbe4d91 100644 --- a/src/Data/Syntax/Assignment.hs +++ b/src/Data/Syntax/Assignment.hs @@ -263,7 +263,7 @@ runAssignment toNode source = (\ assignment state -> disamb Left (Right . minimu go assignment = iterFreer run ((pure .) . (,) <$> assignment) {-# INLINE go #-} - run :: forall x result. AssignmentF ast grammar x + run :: AssignmentF ast grammar x -> (x -> State ast grammar -> Amb (Error grammar) (result, State ast grammar)) -> State ast grammar -> Amb (Error grammar) (result, State ast grammar)