1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
This commit is contained in:
Rob Rix 2015-12-27 12:16:19 -05:00
parent 518c0b69b6
commit cb56c621e0

View File

@ -4,7 +4,7 @@ import Control.Applicative ((<|>))
import qualified Data.Char as Char import qualified Data.Char as Char
import Data.Maybe (fromMaybe) import Data.Maybe (fromMaybe)
-- | A half-open interval of integers, defined by start & end indices. -- | A half-open interval of integers, defined by start & end indices.
data Range = Range { start :: !Int, end :: !Int } data Range = Range { start :: !Int, end :: !Int }
deriving (Eq, Show) deriving (Eq, Show)