Hacker News new | ask | show | jobs
by anentropic 16 days ago
It looks nice. The general syntax isn't explained AFAICT?

Looks somewhat Python-like but modernised (great!) - is it indentation sensitive?

1 comments

Yes, it's python-inspired. Some notable differences are: - no return keyword - match/if are expressions - it's functional - =? is used for early returns or binding, depending on the variant of an Option or Result that is returned

There's a lot of other differences -- it's a smaller language surface than Python overall.

I like all those features!

I was trying to find if it is definitely a significant whitespace syntax, as it appears to be