mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Reformat runDomainEffects.
This commit is contained in:
parent
f37b417fd9
commit
e84204bbcc
@ -126,7 +126,17 @@ runDomainEffects :: ( AbstractValue term address value (DomainC term address val
|
||||
=> (term -> Evaluator term address value (DomainC term address value m) value)
|
||||
-> Module (Either (proxy lang) term)
|
||||
-> Evaluator term address value m value
|
||||
runDomainEffects runTerm = raiseHandler runInterpose . runUnit . runBitwise . runNumeric . runString . runBoolean . runWhile . runFunction runTerm . either ((unit <*) . definePrelude) runTerm . moduleBody
|
||||
runDomainEffects runTerm
|
||||
= raiseHandler runInterpose
|
||||
. runUnit
|
||||
. runBitwise
|
||||
. runNumeric
|
||||
. runString
|
||||
. runBoolean
|
||||
. runWhile
|
||||
. runFunction runTerm
|
||||
. either ((unit <*) . definePrelude) runTerm
|
||||
. moduleBody
|
||||
|
||||
-- | Evaluate a term recursively, applying the passed function at every recursive position.
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user