mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Pair down to only what we are using
This commit is contained in:
parent
f85e89872c
commit
9bc0668ff1
@ -27,14 +27,14 @@ import System.FilePath.Posix
|
||||
type Evaluating v
|
||||
= '[ Fail -- For 'MonadFail'.
|
||||
, State (Store (LocationFor v) v) -- For 'MonadStore'.
|
||||
, Reader (Environment (LocationFor v) v) -- For 'MonadEnv'.
|
||||
, Reader (Live (LocationFor v) v) -- For 'MonadGC'.
|
||||
-- , Reader (Environment (LocationFor v) v) -- For 'MonadEnv'.
|
||||
-- , Reader (Live (LocationFor v) v) -- For 'MonadGC'.
|
||||
]
|
||||
|
||||
-- | Evaluate a term to a value.
|
||||
evaluate :: forall v term
|
||||
. ( Ord v
|
||||
, Ord (LocationFor v)
|
||||
, Ord (LocationFor v) -- For 'MonadStore'
|
||||
-- , Ord (Cell (LocationFor v) v)
|
||||
-- , Semigroup (Cell (LocationFor v) v)
|
||||
-- , Functor (Base term)
|
||||
|
Loading…
Reference in New Issue
Block a user