1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

Comment the store and failure effects.

This commit is contained in:
Rob Rix 2018-03-01 15:35:42 -05:00
parent 3424a6069c
commit b148b6535c

View File

@ -21,8 +21,8 @@ import qualified Data.ByteString.Char8 as BC
-- | The effects necessary for concrete interpretation.
type Evaluating t v
= '[ Fail
, State (Store (LocationFor v) v)
= '[ Fail -- Failure with an error message
, State (Store (LocationFor v) v) -- The heap
, State (EnvironmentFor v) -- Global (imperative) environment
, Reader (EnvironmentFor v) -- Local environment (e.g. binding over a closure)
, Reader (Linker t) -- Cache of unevaluated modules