summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-12-30 15:57:36 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-12-30 15:57:36 +0100
commit227b186bf2420d027b97f4e1392b206a80a04214 (patch)
tree872b0f1af9a3e7fd20d9ed662991ab35fa1cd38b
parent86fafe6e61f71428f933f62a3c68cb3819c189c9 (diff)
downloadhakyll-227b186bf2420d027b97f4e1392b206a80a04214.tar.gz
Remove compileFromString function
-rw-r--r--src/Hakyll/Core/Compiler.hs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index 5a1741c..7837991 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -11,7 +11,6 @@ module Hakyll.Core.Compiler
, getResourceString
, require
, requireAll
- -- , compileFromString
) where
import Prelude hiding ((.), id)
@@ -145,12 +144,3 @@ requireAll pattern f =
deps <- getDeps . compilerResourceProvider <$> ask
lookup' <- compilerDependencyLookup <$> ask
return $ f x $ map (unCompiledItem . lookup') deps
-
-{-
--- | Construct a target from a string, this string being the content of the
--- resource.
---
-compileFromString :: (String -> TargetM a) -- ^ Function to create the target
- -> Compiler a -- ^ Resulting compiler
-compileFromString = return . (getResourceString >>=)
--}