Skip to content

Version 24.11

Latest
Compare
Choose a tag to compare
@trizen trizen released this 28 Nov 19:11
· 2 commits to master since this release
24.11
9ac0a9b

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 as sayf). (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 enough n (>10^30). (94bfebe, 14a1ee2, 9b4a54b)
  • Simplified the liouville_sum function for slightly better performance. (61f50c7)

Changes

  • Renamed the Array and String method jaro_distance to jaro. (f7e725f)

Bug-fixes

  • Fixed a minor issue in Perl.to_sidef() method. (2d6af54)
  • Fixed Number mertens(n) for non-native values of n. (61f50c7)
  • Guard against "Modification of a read-only value attempted" errors. (0f8b1ab)

Full Changelog: 24.05...24.11