mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Define an Eq instance for SomeBuiltin.
This commit is contained in:
parent
5116d52da7
commit
71c1e50c0b
@ -91,4 +91,7 @@ runPrimitive = interpret (\ (Prim builtin params) -> case builtin of
|
||||
data SomeBuiltin where
|
||||
SomeBuiltin :: Builtin arg return -> SomeBuiltin
|
||||
|
||||
instance Eq SomeBuiltin where
|
||||
SomeBuiltin Print == SomeBuiltin Print = True
|
||||
|
||||
deriving instance Show SomeBuiltin
|
||||
|
Loading…
Reference in New Issue
Block a user