ArkScript v4.6.0
Immutable
release. Only release title and notes can be modified.
Deprecations
std.Rangehas been entirely deprecated and is scheduled for removalbitwisemodule is deprecated in favor of new builtins, included instd.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:codepointsreturning the Unicode codepoints of a string as a list of numbers - new bitwise builtins
Changed
$reprshows the correct representation for macros$symcataccepts symbols and strings as its first argumentmath:powuses a more precise way of computing values when inputs are integers- docker images use alpine 3.23 as a base instead of 3.21