Rescript course, episode 4: type system overview, control structures, algebraic data types

preview_player
Показать описание
In this episode, we'll take a closer look at the #rescript type system, control structures, how they differ from #typescript and learn about algebraic data types.

#rescript #frontend
Рекомендации по теме
Комментарии
Автор

Haven't checked this out since Bucklescript. I really like the pipe feature, having gotten used to that (and pattern matching of course!) with Elixir. The main question I have is how does it interop with untyped/loosely typed json.

My ibgib protocol is itself an ML so to speak (DLT with time as 1st class citizen, think git but more generalized as an explicit meta language use case), and the hiccups I run into with compile time languages is the difficulty of data casting/coercion. Rescript could be interesting since it is still eventually running on a js interpreter, so I am wondering if that might make it feasible for my use case.

ibgib
welcome to shbcf.ru