1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Note some todos for Value.

This commit is contained in:
Rob Rix 2017-12-21 09:39:31 -05:00
parent 4a65cd0da0
commit 6d89beccea

View File

@ -26,6 +26,9 @@ type ValueConstructors location
-- | Open union of primitive values that terms can be evaluated to.
type Value location = Union (ValueConstructors location)
-- TODO: Parameterize Value by the set of constructors s.t. each language can have a distinct value union.
-- TODO: Wrap the Value union in a newtype to differentiate from (eventual) à la carte Types.
data Closure location term = Closure [Name] term (Environment location (Value location term))
deriving (Eq, Generic1, Ord, Show)