kalker/tests/comprehensions.kalker
2022-01-16 00:33:26 +01:00

2 lines
142 B
Plaintext

[x : 0 ≤ x and 5 > x] = (0, 1, 2, 3, 4) and
[(x, y) : x > 0 and x <= 3, y > 0 and y <= 2] = [(1, 1), (1, 2), (2, 1), (2, 2), (3, 1), (3, 2)]