chore: remove redundant seq

This commit is contained in:
Wolfgang Witt 2021-02-26 17:46:19 +01:00 committed by Wolfgang Witt
parent 6dedb2b2a0
commit 72d42baec5

View File

@ -562,7 +562,7 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences
-> ( Map ExamOccurrenceId (Set ExamOccurrenceMappingDescription)
, Map UserId (Maybe ExamOccurrenceId)
)
postprocess result = seq resultAscList (resultAscList, resultUsers)
postprocess result = (resultAscList, resultUsers)
where
maxTagLength :: Int
maxTagLength = maybe 0 maximum $ fromNullable $ concatMap (map length . snd) result