buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.2k stars 34 forks source link

`if-let` like statement #77

Closed giann closed 1 year ago

giann commented 1 year ago

Goal is to get rid of ! for optional unwrapping:

if (someOptional -> nonOptional) {
    | ...
}