git.iko.soy/typeable/file-embed
on master help sign in
Fix haddock for makeRelativeToProject
0bee64fGeorgi Lyubenov
Data/FileEmbed.hs+1−3
@@ -369,9 +369,7 @@ available, you can use the non-@With@ variants.
369-- finds the first parent directory with a .cabal file, and uses that as the
369-- finds the first parent directory with a .cabal file, and uses that as the
370-- root directory for fixing the relative path.
370-- root directory for fixing the relative path.
371--
371--
372−-- @@@
373−-- $(makeRelativeToProject "data/foo.txt" >>= embedFile)
372+-- @$(makeRelativeToProject "data/foo.txt" >>= embedFile)@
374−-- @@@
375--
373--
376-- @since 0.0.10
374-- @since 0.0.10
377makeRelativeToProject :: FilePath -> Q FilePath
375makeRelativeToProject :: FilePath -> Q FilePath