Skip to content

0.6.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@kaikalii kaikalii released this 07 Dec 01:51
· 3619 commits to main since this release

0.6.0 - 2023-12-06

Language

  • fix ¤ now works with binary pervasive functions
    • This removes the need for some uses of rows and should be a bit faster
  • fill can now be disabled for a function by filling with an empty list
  • parse now has a glyph and is semi-pervasive
    • It was being used enough to warrant a glyph
  • sign ±, floor , ceiling , and round now work with under
  • Add some missing arithmetic inverses and unders involving flip :
  • Change pack's name to unpack , and it no longer implicitly boxes values (only unboxes them)
    • Implicit boxing could lead to unexpected and inconsistent behavior
  • Change invert's name and glyph to un °. Code using will continue to work and will be formatted as °.
    • ° is a nicer glyph, and un composes more nicely with the names of invertible functions
  • Deprecate unbox in favor of un ° box
    • It can still be typed the same way!
  • Deprecate reduce / with a monadic function
    • This created poorly-defined stack signatures that changed depending on the length of the array being reduced
    • un ° with stack array and planet notations, i.e. °[⊙⊙∘], can be used instead, as it has a well-defined signature
    • For operating on just part of an array, use under take , drop , or select
  • box ed arrays can once again be compared lexicographically

Interpreter

  • Make stack ? and dump output show call stack
  • Show type and shape information when pretty-printing empty arrays with rank 2 or greater
  • Improve language server hover information
  • Bug and crash fixes

Website

  • Add a token count to the editor (in settings)
  • Files can now be dragged into the editor to open them with &fras
  • &fld now works on the website