@@ -20,14 +20,13 @@ module Hakyll.Web.Pandoc
2020
2121import Prelude hiding (id)
2222import Control.Applicative ((<$>))
23−import Control.Arrow ((>>>), arr)
23+import Control.Arrow ((>>^), (&&&))
2424import Control.Category (id)
2525
2626import Text.Pandoc (Pandoc)
2727import qualified Text.Pandoc as P
2828
2929import Hakyll.Core.Compiler
30−import Hakyll.Core.Util.Arrow
3130import Hakyll.Web.FileType
3231import Hakyll.Web.Page
3332
@@ -75,7 +74,7 @@ pageReadPandoc = pageReadPandocWith defaultParserState
7574--
7675pageReadPandocWith :: P.ParserState -> Compiler (Page String) (Page Pandoc)
7776pageReadPandocWith state =
78− withUnitArr id getFileType >>> arr pageReadPandocWith'
77+ id &&& getFileType >>^ pageReadPandocWith'
7978 where
8079 pageReadPandocWith' (p, t) = readPandocWith state t <$> p
8180
@@ -90,7 +89,7 @@ pageRenderPandocWith :: P.ParserState
9089 -> P.WriterOptions
9190 -> Compiler (Page String) (Page String)
9291pageRenderPandocWith state options =
93− pageReadPandocWith state >>> arr (fmap $ writePandocWith options)
92+ pageReadPandocWith state >>^ (fmap $ writePandocWith options)
9493
9594-- | The default reader options for pandoc parsing in hakyll
9695--