mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
🔥 the RangedWhatever things.
This commit is contained in:
parent
e01c6325a3
commit
e74340d4cf
@ -23,9 +23,3 @@ cost f = iter c $ fmap g f where
|
||||
c (Indexed xs) = sum xs
|
||||
c (Fixed xs) = sum xs
|
||||
g _ = 1
|
||||
|
||||
type RangedTerm a = Cofree (Syntax a) Int
|
||||
-- data Difff a f = Difff (Either (Patch (Term a)) (Syntax a f))
|
||||
-- type RangedDiff a = Cofree (Difff a) Range
|
||||
data AnnotatedSyntax a f = AnnotatedSyntax (Range, Syntax a f)
|
||||
type RangedDiff a = Free (AnnotatedSyntax a) (Patch (Term a Info))
|
||||
|
Loading…
Reference in New Issue
Block a user