For anyone following along, the sequence operator, ..., has changed how it handles the end of the sequence. It is now very flexible about how the end is specified, but the example in this screencast of (1, 3 ... 10) will no longer work.
It uses smart matching of the value against the right-hand side of the ... operator. In this example it will never be true, so an infinite list of odd numbers is created. But this works: (1, 3 ...^ * > 10); "up to but not including whatever is greater than 10".
For anyone following along, the sequence operator, ..., has changed how it handles the end of the sequence. It is now very flexible about how the end is specified, but the example in this screencast of (1, 3 ... 10) will no longer work.
It uses smart matching of the value against the right-hand side of the ... operator. In this example it will never be true, so an infinite list of odd numbers is created. But this works: (1, 3 ...^ * > 10); "up to but not including whatever is greater than 10".
redlever 8 months ago
@redlever Thank you for the update!
gabor529 8 months ago