mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Stub in an evaluate function mapping modules to results.
This commit is contained in:
parent
327a3387d9
commit
0d3bec92ad
@ -65,6 +65,10 @@ data LoadOrder a b
|
|||||||
= Done (NonEmpty b)
|
= Done (NonEmpty b)
|
||||||
| Load (NonEmpty a) (NonEmpty b -> LoadOrder a b)
|
| Load (NonEmpty a) (NonEmpty b -> LoadOrder a b)
|
||||||
|
|
||||||
|
evaluate :: LoadOrder (Module term) (Module (address, Environment address))
|
||||||
|
-> Eff effects (NonEmpty (Module (address, Environment address)))
|
||||||
|
evaluate (Done results) = pure results
|
||||||
|
|
||||||
-- | Evaluate a given package.
|
-- | Evaluate a given package.
|
||||||
evaluatePackageWith :: forall address term value inner inner' inner'' outer
|
evaluatePackageWith :: forall address term value inner inner' inner'' outer
|
||||||
. ( AbstractValue address value inner
|
. ( AbstractValue address value inner
|
||||||
|
Loading…
Reference in New Issue
Block a user