2021-06-27 | Paul Boddie | file changeset files shortlog | Fixed int instantiation by special-casing the type in the translator. This also avoids allocating an instance which would never be used with the tagged value representation. |
paul@2 | 1 | def f(l, y): |
paul@2 | 2 | return [x for x in l if x > y] |
paul@2 | 3 | |
paul@2 | 4 | result = f([1, 2, 3], 2) |