top | item 45856922

(no title)

glutamate | 3 months ago

Algebraic data types please. When you programme in Haskell, you use them all time, and yet support is missing in so many languages. It's one of the things that makes Swift look attractive to me.

discuss

order

nynrathod|3 months ago

Hi, thanks for pointing this out. Yeah struct and enum are alredy in pipeline. memroy mgmt and codegen work pending for those 2. Planning to release in 0.3.0 but let me see if possible on next release of 0.2.0

Struct enums are base of any type safe language will surely add in upcoming releases.