@@ -83,19 +83,20 @@ getRoute identifier = do
85--------------------------------------------------------------------------------
85--------------------------------------------------------------------------------
86−-- | Get the body of the underlying resource
86+-- | Get the full contents of the matched source file as a string,
87+-- but without metadata preamble, if there was one.
87getResourceBody :: Compiler (Item String)
88getResourceBody :: Compiler (Item String)
88getResourceBody = getResourceWith resourceBody
89getResourceBody = getResourceWith resourceBody
91--------------------------------------------------------------------------------
92--------------------------------------------------------------------------------
92−-- | Get the resource we are compiling as a string
93+-- | Get the full contents of the matched source file as a string.
93getResourceString :: Compiler (Item String)
94getResourceString :: Compiler (Item String)
94getResourceString = getResourceWith resourceString
95getResourceString = getResourceWith resourceString
97--------------------------------------------------------------------------------
98--------------------------------------------------------------------------------
98−-- | Get the resource we are compiling as a lazy bytestring
99+-- | Get the full contents of the matched source file as a lazy bytestring.
99getResourceLBS :: Compiler (Item ByteString)
100getResourceLBS :: Compiler (Item ByteString)
100getResourceLBS = getResourceWith resourceLBS
101getResourceLBS = getResourceWith resourceLBS