aboutsummaryrefslogtreecommitdiffstats
path: root/app/CMark/Extra.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/CMark/Extra.hs')
-rw-r--r--app/CMark/Extra.hs23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/CMark/Extra.hs b/app/CMark/Extra.hs
new file mode 100644
index 0000000..1d7d553
--- /dev/null
+++ b/app/CMark/Extra.hs
@@ -0,0 +1,23 @@
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+
+module CMark.Extra where
+
+import CMark
+import Data.Binary (Binary)
+
+-- TODO Generic-derived Binary instances might be slow
+--
+-- https://github.com/kolmodin/binary/issues/200
+--
+-- @backlog
+instance Binary Node
+
+instance Binary PosInfo
+
+instance Binary NodeType
+
+instance Binary ListAttributes
+
+instance Binary ListType
+
+instance Binary DelimType