Remove compileFromString function
This commit is contained in:
parent
86fafe6e61
commit
227b186bf2
1 changed files with 0 additions and 10 deletions
|
@ -11,7 +11,6 @@ module Hakyll.Core.Compiler
|
||||||
, getResourceString
|
, getResourceString
|
||||||
, require
|
, require
|
||||||
, requireAll
|
, requireAll
|
||||||
-- , compileFromString
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude hiding ((.), id)
|
import Prelude hiding ((.), id)
|
||||||
|
@ -145,12 +144,3 @@ requireAll pattern f =
|
||||||
deps <- getDeps . compilerResourceProvider <$> ask
|
deps <- getDeps . compilerResourceProvider <$> ask
|
||||||
lookup' <- compilerDependencyLookup <$> ask
|
lookup' <- compilerDependencyLookup <$> ask
|
||||||
return $ f x $ map (unCompiledItem . lookup') deps
|
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 >>=)
|
|
||||||
-}
|
|
||||||
|
|
Loading…
Reference in a new issue