-
hkts
Discontinued Functional programming tools: option, either, task, state, optics, etc. (by nullpub)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Before diving into the nitty gritty of how hkts implements higher kinded types, how hkts handles type-class constructor lengths, or how one might implement Monad for These, I will begin at the end. This is to say, I will be starting with examples of how to use Option, Either, Task, and more. Then I will endeavor to explain what type classes like Functor, Monad, Traverse, and Monoid mean. Lastly, I'll get into the typescript abstractions that make hkts possible.
If my examples are too foreign to you, or perhaps you want a primer on what functional programming even is, I'd recommend looking through Brian Lonsdorf's Mostly Adequate Guide to Functional Programming.
My goal with hkts is two-fold. First, to learn more about functional programming by implementing some common type classes (specifically, the ones defined in the static-land spec). Second, to put together a pragmatic, easy to read/understand library of tools based on fp-ts, io-ts, and monocle-ts that are deno native.
Related posts
-
Mostly adequate guide to Functional Programming (in JavaScript)
-
FE devs, ceva sfaturi pentru un junior?
-
How do you run an effective clean code book club, and looking for homework ideas?
-
[AskJS] object oriented or functional , which one you guys oftenly use while writing code in vanilla JavaScript?
-
FP techniques that will help you write better JavaScript