Skip to content

ArkScript v4.6.0

Choose a tag to compare

@github-actions github-actions released this 17 May 16:39
Immutable release. Only release title and notes can be modified.

Deprecations

  • std.Range has been entirely deprecated and is scheduled for removal
  • bitwise module is deprecated in favor of new builtins, included in std.Math

Added

  • standard library:
    • list:slice1
    • list:first
    • list:last
    • list:cumulativeSum
    • list:cumulativeProduct
    • list:zeros
    • list:ones
    • string:lpad
    • string:rpad
    • string:ascii?
    • string:first
    • string:last
    • string:codepoints
    • math:countOnes
    • math:countZeros
    • math:bitNot
    • math:bitAnd
    • math:bitOr
    • math:bitXor
    • math:lshift
    • math:rshift
    • math:bitCeil
    • math:bitFloor
    • math:bitWidth
    • math:countLeftZeros
    • math:countLeftOnes
    • math:countRightZeros
    • math:countRightOnes
    • math:circularLeftShift
    • math:circularRightShift
    • math:toBase
    • math:countDigits
  • new experimental builtin builtin__string:codepoints returning the Unicode codepoints of a string as a list of numbers
  • new bitwise builtins

Changed

  • $repr shows the correct representation for macros
  • $symcat accepts symbols and strings as its first argument
  • math:pow uses a more precise way of computing values when inputs are integers
  • docker images use alpine 3.23 as a base instead of 3.21