mirror of
https://github.com/github/semantic.git
synced 2024-12-03 00:16:52 +03:00
add eval instance for sequence expression
This commit is contained in:
parent
9b3c3d279f
commit
e833ad4fef
@ -284,7 +284,9 @@ instance Ord1 SequenceExpression where liftCompare = genericLiftCompare
|
|||||||
instance Show1 SequenceExpression where liftShowsPrec = genericLiftShowsPrec
|
instance Show1 SequenceExpression where liftShowsPrec = genericLiftShowsPrec
|
||||||
|
|
||||||
-- TODO: Implement Eval instance for SequenceExpression
|
-- TODO: Implement Eval instance for SequenceExpression
|
||||||
instance Evaluatable SequenceExpression
|
instance Evaluatable SequenceExpression where
|
||||||
|
eval (SequenceExpression a b) =
|
||||||
|
subtermValue a >> subtermRef b
|
||||||
|
|
||||||
|
|
||||||
-- | Javascript void operator
|
-- | Javascript void operator
|
||||||
|
Loading…
Reference in New Issue
Block a user