chore: remove redundant seq
This commit is contained in:
parent
6dedb2b2a0
commit
72d42baec5
@ -562,7 +562,7 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences
|
|||||||
-> ( Map ExamOccurrenceId (Set ExamOccurrenceMappingDescription)
|
-> ( Map ExamOccurrenceId (Set ExamOccurrenceMappingDescription)
|
||||||
, Map UserId (Maybe ExamOccurrenceId)
|
, Map UserId (Maybe ExamOccurrenceId)
|
||||||
)
|
)
|
||||||
postprocess result = seq resultAscList (resultAscList, resultUsers)
|
postprocess result = (resultAscList, resultUsers)
|
||||||
where
|
where
|
||||||
maxTagLength :: Int
|
maxTagLength :: Int
|
||||||
maxTagLength = maybe 0 maximum $ fromNullable $ concatMap (map length . snd) result
|
maxTagLength = maybe 0 maximum $ fromNullable $ concatMap (map length . snd) result
|
||||||
|
|||||||
Reference in New Issue
Block a user