typo
This commit is contained in:
parent
5d73a790e8
commit
4bb8fdb70d
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ getLibName lib libmap = case M.lookup lib libmap of
|
|||
Nothing -> (nextfreename, M.insert lib nextfreename libmap)
|
||||
where
|
||||
names = map (\c -> [c]) ['A' .. 'Z'] ++
|
||||
[[n, l] | n <- ['0' .. '9'], l <- ['A' .. 'Z']
|
||||
[[n, l] | n <- ['0' .. '9'], l <- ['A' .. 'Z']]
|
||||
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