oh yeah, OSX is case insensative
This commit is contained in:
parent
9370c32290
commit
dea5599d3d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ getLibName lib libmap = case M.lookup lib libmap of
|
|||
where
|
||||
names = map (\c -> [c]) letters ++
|
||||
[[l1, l2] | l1 <- letters, l2 <- letters]
|
||||
letters = ['a' .. 'z'] ++ ['A' .. 'Z'] ++ ['0' .. '9']
|
||||
letters = ['a' .. 'z'] ++ ['0' .. '9']
|
||||
used = S.fromList $ M.elems libmap
|
||||
nextfreename = fromMaybe (error "ran out of short library names!") $
|
||||
headMaybe $ dropWhile (`S.member` used) names
|
||||
|
|
Loading…
Reference in a new issue