refactor: hlint
This commit is contained in:
parent
a36f0deb09
commit
25fa6ef0d7
@ -412,7 +412,7 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences
|
||||
-- ^ Only use non-ignored occurrences
|
||||
-- Sort by size if specified (here increasing, since it is reversed later)
|
||||
occurrences'' = case eaocIgnoreRooms of
|
||||
ExamAutoOccurrenceIgnoreRooms {..} -> ((if eaoirSorted then sortOn (view _2) else id) $ Map.toList $ Map.withoutKeys occurrences' eaoirIgnored)
|
||||
ExamAutoOccurrenceIgnoreRooms {..} -> (if eaoirSorted then sortOn (view _2) else id) $ Map.toList $ Map.withoutKeys occurrences' eaoirIgnored
|
||||
|
||||
partitionRestricted :: ([a], [(a, Natural)]) -> [(a,ExamOccurrenceCapacity)] -> ([a], [(a, Natural)])
|
||||
partitionRestricted acc [] = acc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user