mirror of
https://github.com/github/semantic.git
synced 2024-12-15 18:13:38 +03:00
Implement tuple eval
This commit is contained in:
parent
5f395923a7
commit
9b7670e655
@ -255,7 +255,7 @@ instance Ord1 Tuple where liftCompare = genericLiftCompare
|
|||||||
instance Show1 Tuple where liftShowsPrec = genericLiftShowsPrec
|
instance Show1 Tuple where liftShowsPrec = genericLiftShowsPrec
|
||||||
|
|
||||||
instance Evaluatable Tuple where
|
instance Evaluatable Tuple where
|
||||||
eval _ (Tuple _) = undefined -- rvalBox =<< tuple =<< traverse (eval >=> address) cs
|
eval _ (Tuple _) = rvalBox =<< tuple =<< traverse (eval >=> Eval.value) cs
|
||||||
|
|
||||||
newtype Set a = Set { setElements :: [a] }
|
newtype Set a = Set { setElements :: [a] }
|
||||||
deriving (Declarations1, Diffable, Eq, Foldable, FreeVariables1, Functor, Generic1, Hashable1, Ord, Show, ToJSONFields1, Traversable, Named1, Message1, NFData1)
|
deriving (Declarations1, Diffable, Eq, Foldable, FreeVariables1, Functor, Generic1, Hashable1, Ord, Show, ToJSONFields1, Traversable, Named1, Message1, NFData1)
|
||||||
|
Loading…
Reference in New Issue
Block a user