summaryrefslogtreecommitdiff
path: root/src/Hakyll
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll')
-rw-r--r--src/Hakyll/Core/Writable.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Writable.hs b/src/Hakyll/Core/Writable.hs
index 280258d..b7a4116 100644
--- a/src/Hakyll/Core/Writable.hs
+++ b/src/Hakyll/Core/Writable.hs
@@ -20,6 +20,9 @@ class Writable a where
-- | Save an item to the given filepath
write :: FilePath -> a -> IO ()
+instance Writable () where
+ write _ _ = return ()
+
instance Writable [Char] where
write = writeFile