Skip to content

Added and improved a bunch of functions

Compare
Choose a tag to compare
@ETHproductions ETHproductions released this 06 Jan 19:27
· 262 commits to master since this release
  • Bug fix: à-ÿ are not accepted in shorthand functions
  • Bug fix: A.d(), A.e(), A.f(), and A.è() do not properly accept shorthand functions, e.g. f>2
  • Greatly improved the speed of A.æ() by returning as soon as the first item is found
  • Made N.j() (primality check) twice as fast
  • Combined N.h() with N.u() (positive modulus)
  • Made N.v() into a divisibility check
  • Added S.ë(n,x=0): returns every nth char of this, starting at index x
  • Added A.ë(n,x=0): returns every nth item of this, starting at index x
  • Added A.ì(x): converts this from an array of base-x digits to an integer
  • Added N.ì(x): converts this into an array of base-x digits
  • Added F.a(f?): returns the smallest non-negative integer that returns a truthy value when run through this, mapping through f beforehand
  • Added F.b(f?): like F.a(), but with bijective base-10 integers