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

Add an Element type synonym.

This commit is contained in:
Rob Rix 2015-12-01 14:35:23 -05:00
parent 080fda5bdf
commit 68ce3a200e

View File

@ -6,9 +6,12 @@ import Syntax
import Term
import Unified
import qualified Data.Set as Set
import Control.Comonad.Cofree
import Rainbow
data Node = Node String (Set.Set Category)
type ClassName = String
type Element a = Cofree (Syntax a) (Maybe ClassName, String)
split :: Diff a Info -> String -> String -> IO ByteString
split _ _ _ = return mempty