News for hackers. Stuff that matters.
Re:Grain: A strongly-typed functional programming language f... by seanclayton on Monday April 26, 2021 @01:24AM (#26939464)
Typescript provided none of those besides sum types.
Re:Grain: A strongly-typed functional programming language f... by cies on Monday April 26, 2021 @03:39AM (#26940242)
and sum types bolted on, it something else from sum types that are idiomatic and used throughout all of the std lib.

that's my main gripe with TS: it's bolted on nature.

that's why I prefer a clean slate (like Elm, Rust, F#/Fable, ReasonML/ReScript, PureScript, or this "Grain" project)