where indenting
This commit is contained in:
parent
6a0756d2fb
commit
2172cc586e
42 changed files with 1193 additions and 1209 deletions
|
@ -64,10 +64,10 @@ groupMapLoad = do
|
|||
|
||||
makeGroupMap :: M.Map UUID (S.Set Group) -> GroupMap
|
||||
makeGroupMap byuuid = GroupMap byuuid bygroup
|
||||
where
|
||||
bygroup = M.fromListWith S.union $
|
||||
concat $ map explode $ M.toList byuuid
|
||||
explode (u, s) = map (\g -> (g, S.singleton u)) (S.toList s)
|
||||
where
|
||||
bygroup = M.fromListWith S.union $
|
||||
concat $ map explode $ M.toList byuuid
|
||||
explode (u, s) = map (\g -> (g, S.singleton u)) (S.toList s)
|
||||
|
||||
{- If a repository is in exactly one standard group, returns it. -}
|
||||
getStandardGroup :: S.Set Group -> Maybe StandardGroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue