News for hackers. Stuff that matters.
Re:Ask HN: Learning Functional Programming in 2022? by codeptualize on Wednesday August 03, 2022 @03:01AM (#32328513)
Sounds like you are mostly frontend. I can highly recommend ReScript https://rescript-lang.org/

I learned a lot about functional programming from it.

It is a more frontend focussed https://reasonml.github.io/ which is all based on OCaml. It has the same awesome type system and all the FP goodies while providing easy TS/JS interop and convenient escape hatches.

It compiles (very fast) to highly efficient readable JS that you can use wherever.

Re:Ask HN: Learning Functional Programming in 2022? by low_tech_punk on Wednesday August 03, 2022 @03:57AM (#32328870)
Thanks! I saw ReScript's compiler is written in OCaml, so there is definitely a lineage. Will check it out!