From 227b186bf2420d027b97f4e1392b206a80a04214 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 30 Dec 2010 15:57:36 +0100 Subject: Remove compileFromString function --- src/Hakyll/Core/Compiler.hs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') 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 >>=) --} -- cgit v1.2.3