Skip to content
Snippets Groups Projects
Commit 75015e73 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Merge branch 'tree-diff-option' into 'master'

Remove the Semi.Option instance of ToExpr

See merge request ghc/head.hackage!156
parents 80c304b8 bbba1b30
No related branches found
No related tags found
No related merge requests found
diff --git a/src/Data/TreeDiff/Class.hs b/src/Data/TreeDiff/Class.hs
index 79f928c..03b5f01 100644
--- a/src/Data/TreeDiff/Class.hs
+++ b/src/Data/TreeDiff/Class.hs
@@ -375,8 +375,6 @@ instance ToExpr a => ToExpr (Mon.First a) where
instance ToExpr a => ToExpr (Mon.Last a) where
-- ...
-instance ToExpr a => ToExpr (Semi.Option a) where
- toExpr (Semi.Option x) = App "Option" [toExpr x]
instance ToExpr a => ToExpr (Semi.Min a) where
toExpr (Semi.Min x) = App "Min" [toExpr x]
instance ToExpr a => ToExpr (Semi.Max a) where
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment