diff --git a/src/Breve/Generator.hs b/src/Breve/Generator.hs index 6eefde4..d322093 100644 --- a/src/Breve/Generator.hs +++ b/src/Breve/Generator.hs @@ -31,6 +31,6 @@ word = replicateM 10 letter where intHash :: Url -> Int intHash = decode . fromStrict . hash . pack --- Assing a unique name to the url +-- Assign a unique name to the url nameHash :: Url -> Name nameHash = evalState word . mkStdGen . intHash