mirror of
https://github.com/github/semantic.git
synced 2024-12-14 17:31:48 +03:00
Use a lazy pattern match in evalTerm.
This commit is contained in:
parent
2599cfa60d
commit
7688f05e7f
@ -145,4 +145,4 @@ evalTerm :: ( Carrier sig m
|
||||
)
|
||||
=> Open (term -> Evaluator term address value m value)
|
||||
-> term -> Evaluator term address value m value
|
||||
evalTerm perTerm = fst (fix (\ (ev, re) -> (perTerm (eval ev re . project), ref ev re . project)))
|
||||
evalTerm perTerm = fst (fix (\ ~(ev, re) -> (perTerm (eval ev re . project), ref ev re . project)))
|
||||
|
Loading…
Reference in New Issue
Block a user