@@ -11,7 +11,6 @@ module Hakyll.Core.Compiler
11 , getResourceString
11 , getResourceString
13 , requireAll
13 , requireAll
14− -- , compileFromString
17import Prelude hiding ((.), id)
16import Prelude hiding ((.), id)
@@ -145,12 +144,3 @@ requireAll pattern f =
145 deps <- getDeps . compilerResourceProvider <$> ask
144 deps <- getDeps . compilerResourceProvider <$> ask
146 lookup' <- compilerDependencyLookup <$> ask
145 lookup' <- compilerDependencyLookup <$> ask
147 return $ f x $ map (unCompiledItem . lookup') deps
146 return $ f x $ map (unCompiledItem . lookup') deps
150−-- | Construct a target from a string, this string being the content of the
153−compileFromString :: (String -> TargetM a) -- ^ Function to create the target
154− -> Compiler a -- ^ Resulting compiler
155−compileFromString = return . (getResourceString >>=)