mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Compose in the other direction.
This commit is contained in:
parent
f96fb53501
commit
03fda04500
@ -150,4 +150,4 @@ evalTerm :: ( Carrier sig m
|
||||
)
|
||||
=> Open (term -> Evaluator term address value m (ValueRef address value))
|
||||
-> term -> Evaluator term address value m (ValueRef address value)
|
||||
evalTerm perTerm = fst (fix (\ (ev, re) -> (perTerm (eval ev re . project), ref (ev >=> value) re . project >=> maybeM (throwEvalError RefError))))
|
||||
evalTerm perTerm = fst (fix (\ (ev, re) -> (perTerm (eval ev re . project), maybeM (throwEvalError RefError) <=< ref (value <=< ev) re . project)))
|
||||
|
Loading…
Reference in New Issue
Block a user