Skip to content

v0.4.1

Latest
Compare
Choose a tag to compare
@stackoverflow stackoverflow released this 22 Oct 11:02

Features

  • ability to add foreign imports to the repl

Changes

  • repl properly prints functions and the types of expressions

  • repl doesn't differentiate between expressions and definitions anymore

  • repl accepts redefinitions of previously defined variables

  • index operator now only works for lists

  • ! operator now works for strings instead of lists

  • added <primitiveArray>aget functions

  • changed <- operator to have the lowest precedence

  • added AutoCloseable type class and withOpen function

  • language formatter is usable now

  • better indentation rules for binary operators, now they don't need indentation

    // before
    fun x =
      value
        |> function1
        |> function2
    
    // after
    fun x =
      value
      |> function1
      |> function2
    

Bug Fixes

  • Fixed bug in list/set parsing where indentation was not ignored