Additions
- Added the Array
.isort
and.isort_by{...}
methods. (558edae) - Added the Array
.skip(n)
,.skip_last(n)
and.skip_by { ... }
methods. (dba4feb) - Added the Number
farey(n)
method. (c392646) - Added the Number
farey_neighbors(n, p/q)
method. (ec8e01d) - Added the Number
egypt_greedy(p/q)
method. (262b1a5) - Added the String
sayf(format_str, ...)
method. (17ea7e1) - Added the String
.byte(n)
method. (a561092) - Added the String
.head
and.tail
aliases for.first
and.last
methods. (a561092) - Added the String
.cons(n)
and.each_cons(n, {...})
methods. (9b4a54b) - Added the FileHandle
.get_byte
method. (532056c) - Added the FileHandle
.printlnf()
method (also aliased assayf
). (0d9ec08)
Improvements
- Funnier parsing error-messages, generated with Chat GPT. (adabed4)
- Extended the FileHandle
.new_buf()
method, to accept an optional initial string. (5745d87) - Extended the
given/when
statement to support a block, testing for trueness. (019350a) - Better performance in Number
nth_powerfree(n,k)
for large enoughn
(>10^30). (94bfebe, 14a1ee2, 9b4a54b) - Simplified the
liouville_sum
function for slightly better performance. (61f50c7)
Changes
- Renamed the Array and String method
jaro_distance
tojaro
. (f7e725f)
Bug-fixes
- Fixed a minor issue in
Perl.to_sidef()
method. (2d6af54) - Fixed Number
mertens(n)
for non-native values ofn
. (61f50c7) - Guard against "Modification of a read-only value attempted" errors. (0f8b1ab)
Full Changelog: 24.05...24.11