on master help sign in
Updated type of fromFilePath to use FilePath instead of String

Resolves #661

commit6b5010b38eec92168f62fa4b1b296bae12f14f21 authorJim McStanton <jim@jhmcstanton.com> dateFri 12 Oct 2018, 12:16 (8 years ago) parenta4d8fd6
1 file changed+1−1
lib/Hakyll/Core/Identifier.hs+1−1
lib/Hakyll/Core/Identifier.hs+1−1
@@ -62,7 +62,7 @@ instance Show Identifier where
6262
6363--------------------------------------------------------------------------------
6464-- | Parse an identifier from a string
65−fromFilePath :: String -> Identifier
65+fromFilePath :: FilePath -> Identifier
6666fromFilePath = Identifier Nothing .
6767 intercalate "/" . filter (not . null) . split'
6868 where