mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Remove the fixtures.
This commit is contained in:
parent
2dbb4c56a4
commit
28f93515bb
13
app/Main.hs
13
app/Main.hs
@ -8,20 +8,7 @@ import Control.Comonad.Cofree
|
||||
import Control.Monad.Free
|
||||
import Data.Map
|
||||
|
||||
a :: Term String ()
|
||||
a = () :< (Keyed $ fromList [
|
||||
("hello", () :< Indexed [ () :< Leaf "hi" ]),
|
||||
("goodbye", () :< Leaf "goodbye") ])
|
||||
|
||||
b :: Term String ()
|
||||
b = () :< (Keyed $ fromList [
|
||||
("hello", () :< Indexed []),
|
||||
("goodbye", () :< Indexed []) ])
|
||||
|
||||
d :: Diff String ()
|
||||
d = Free . Annotated ((), ()) . Keyed $ fromList [
|
||||
("hello", Free . Annotated ((), ()) $ Indexed [ Pure . Delete $ () :< Leaf "hi" ]),
|
||||
("goodbye", Pure $ Replace (() :< Leaf "goodbye") (() :< Indexed [])) ]
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "hello world"
|
||||
|
Loading…
Reference in New Issue
Block a user