mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Derive Eq, Ord, & Show instances for LocatedValue.
This commit is contained in:
parent
e51d095372
commit
438c19dd50
@ -13,6 +13,7 @@ data Located location = Located { provenance :: !Provenance, location :: locatio
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
newtype LocatedValue value = LocatedValue { getLocatedValue :: value }
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
instance AbstractValue (LocatedValue value) where
|
||||
type LocationFor (LocatedValue value) = Located (LocationFor value)
|
||||
|
Loading…
Reference in New Issue
Block a user