Skip to content

0.6.8

Latest
Compare
Choose a tag to compare
@briangu briangu released this 01 Dec 22:44
· 25 commits to main since this release

Improved multiline support and added transformer example.

While Klong automatically translates newline to semicolon, it was still required to have the closing } on functions to be on the same line (and also for arrays). We can now do something like:

nested::{[a b c fn];
    a::x;
    b::y;
    c::z;
    fn::{
        x*x
    };
    fn(a+b+c)
}

which is a bit more conventional and easier to read.