1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

need range values

This commit is contained in:
Ayman Nadeem 2019-12-19 10:00:38 -05:00
parent c76c52757b
commit 3758f8e2c4

View File

@ -19,7 +19,7 @@ data Range = Range
{ start :: {-# UNPACK #-} !Int
, end :: {-# UNPACK #-} !Int
}
deriving (Eq, Generic, Ord, Show)
deriving (Eq, Generic, Ord, Show, ToJSON)
instance Hashable Range
instance NFData Range