1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00
semantic/src/Operation.hs

10 lines
267 B
Haskell
Raw Normal View History

2015-11-18 02:14:57 +03:00
module Operation where
import Diff
data Operation a f
= Recur (Term a Info) (Term a Info) (Diff a -> f)
| ByKey [(String, Term a Info)] [(String, Term a Info)] ([(String, Diff a)] -> f)
| ByIndex [Term a Info] [Term a Info] ([Diff a] -> f)
2015-11-18 02:39:51 +03:00
deriving Functor