Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you think you will add nullability / optionals into the the type system along with ADT types? (Think swift enum's with associated types). I think structurally they are fairly simple, but very powerful.


There are nullables (like C# nullables), same syntax: "int? a = null;". There's also algebraic data types like Swift's enum. Quite a lot like Swift's enum, actually. See bottom example in enum section: https://www.beeflang.org/docs/language-guide/datatypes/#enum...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: