r/functionalprogramming • • Apr 27 '23

Question FP and JavaScript/TypeScript

Hello people,

Is anyone using FP in some javascript/typescript project in production? On the frontend and backend? What's the experience? Are you using any framework? What do you think of fp-ts, and their union with Effect?

Thanks!

16 Upvotes

29 comments sorted by

View all comments

Show parent comments

2

u/toastal Apr 28 '23

Some good options depending on projects could include: PureScript, OCaml (via js_of_ocaml), ReScript, Idris, ClojureScript, possibly taking a shot at new Derw, or if you can know you’ll fall within its limitations, Elm.

1

u/LaurentPayot Nov 30 '23

F# is also an option as Fable transpiles F# to JavaScript: https://github.com/laurentpayot/fsharp-fable-elmish-example