summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Pandoc/Binary.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web/Pandoc/Binary.hs')
-rw-r--r--src/Hakyll/Web/Pandoc/Binary.hs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Hakyll/Web/Pandoc/Binary.hs b/src/Hakyll/Web/Pandoc/Binary.hs
new file mode 100644
index 0000000..ec75f77
--- /dev/null
+++ b/src/Hakyll/Web/Pandoc/Binary.hs
@@ -0,0 +1,31 @@
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+{-# LANGUAGE DeriveGeneric #-}
+module Hakyll.Web.Pandoc.Binary where
+
+import Data.Binary (Binary (..))
+
+import qualified Text.CSL as CSL
+import qualified Text.CSL.Reference as REF
+import qualified Text.CSL.Style as STY
+import Text.Pandoc
+
+--------------------------------------------------------------------------------
+-- orphans
+
+instance Binary REF.CNum
+instance Binary REF.Literal
+instance Binary REF.RefDate
+instance Binary REF.RefType
+instance Binary STY.Agent
+instance Binary STY.Formatted
+instance Binary Inline
+instance Binary Block
+instance Binary Citation
+instance Binary MathType
+instance Binary Alignment
+instance Binary CitationMode
+instance Binary QuoteType
+instance Binary Format
+instance Binary ListNumberDelim
+instance Binary ListNumberStyle
+instance Binary CSL.Reference