0

Im trying to get into functional programming in javascript and want to find a library for algebraic data types (ADTs).

I've seen a lot of recommendations of folktale. However, even though folktale is regarded as stable and working well the author has become inactive the last couple of years.

There are a lot of packages with similar functionality and on Ramda-fantasy github there is a list of functor libraries. However, that list is 3 years old.

What would be your recommendation on libraries for ADTs for javascript? I'm using react native, which currently is not compatible with sanctuary. I'm not using typescript at the moment but typescript-only libraries would also be valid.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.