1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Info has a range and categories.

This commit is contained in:
Rob Rix 2015-11-17 14:09:52 -08:00
parent 6652ef6b3f
commit 34eb8f9a28

View File

@ -11,7 +11,7 @@ import Control.Comonad.Cofree
data Range = Range { start :: Int, end :: Int }
type Info = String
data Info = Info Range [String]
type Term a = Fix (Syntax a)
data Patch a = Patch { old :: Maybe a, new :: Maybe a }