Closed
Description
agda/src/full/Agda/TypeChecking/Generalize.hs
Lines 375 to 387 in 01f12f0
- Rather than a
for
-loop with manual recursion, this can be written with the usualzip [1..]
trick and amapM
. - The case for exactly one meta is special and should be treated outside of the loop, rather than checking at every iteration.
Code original in a6db224.