diff options
author | 2012-03-10 11:38:38 -0400 | |
---|---|---|
committer | 2012-03-10 11:38:38 -0400 | |
commit | f9d44cccd993926ce0180437ebcb6d08fdb1efd7 (patch) | |
tree | e2d6ac9bc8e6af956212f3796c2352289154130f /Locations.hs | |
parent | 10d9315b59ce1c0d1be91ab7034f87e1f58a0710 (diff) |
perhaps more clear type
Diffstat (limited to 'Locations.hs')
-rw-r--r-- | Locations.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Locations.hs b/Locations.hs index 2e3372551..d263f3d2a 100644 --- a/Locations.hs +++ b/Locations.hs @@ -218,12 +218,12 @@ hashDirMixed :: Hasher hashDirMixed k = addTrailingPathSeparator $ take 2 dir </> drop 2 dir where dir = take 4 $ display_32bits_as_dir =<< [a,b,c,d] - ABCD (a,b,c,d) = md5 $ Str $ encodeFilePath $ show k + ABCD (a,b,c,d) = md5 $ encodeFilePath $ show k hashDirLower :: Hasher hashDirLower k = addTrailingPathSeparator $ take 3 dir </> drop 3 dir where - dir = take 6 $ md5s $ Str $ encodeFilePath $ show k + dir = take 6 $ md5s $ encodeFilePath $ show k {- modified version of display_32bits_as_hex from Data.Hash.MD5 - Copyright (C) 2001 Ian Lynagh |