Remove compileFromString function

This commit is contained in:
Jasper Van der Jeugt 2010-12-30 15:57:36 +01:00
parent 86fafe6e61
commit 227b186bf2

View file

@ -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 >>=)
-}