Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Last active December 25, 2017 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/bddafd9aa6235859fb16e304ddf22889 to your computer and use it in GitHub Desktop.
Save zoffixznet/bddafd9aa6235859fb16e304ddf22889 to your computer and use it in GitHub Desktop.
Fix Inf..Inf and Inf...Inf producing infinite seqs
Also fix the !reverse-iterator there:
<Zoffix> m: say (-Inf..-Inf).reverse[^10]
<camelia> rakudo-moar d444f6: OUTPUT: «(Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf)␤»
Also fix .minmax for (Inf..-Inf).minmax.say giving Inf, -Inf
Also fix (1..Inf).int-bounds; that makes [+] 1..* fail weirdly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment