Skip to content

Commit

Permalink
use subset
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Feb 9, 2024
1 parent 6910c03 commit d8edd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Juvix/Compiler/Tree/EvaluatorEff.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ emptyEvalCtx =
eval :: (E.Output Value :> r, E.Error EvalError :> r) => InfoTable -> Node -> Eff r Value
eval tab = E.runReader emptyEvalCtx . eval'
where
eval' :: forall r'. (E.Output Value :> r', E.Reader EvalCtx :> r', E.Error EvalError :> r') => Node -> Eff r' Value
eval' :: forall r'. (E.Subset '[E.Output Value, E.Reader EvalCtx, E.Error EvalError] r') => Node -> Eff r' Value
eval' node = case node of
Binop x -> goBinop x
Unop x -> goUnop x
Expand Down

0 comments on commit d8edd80

Please sign in to comment.