Help - Higher kinded types

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • I know higher kinded types aren't currently supported by TypeScript and that there's an issue here for them. I found this npm package (hkts) which is designed to help with some cases; but unfortunately I haven't been able to get it to work for me.

  • deno_std

    Discontinued deno standard modules

  • Someone in the deno std lib achieved to make a deep merge which keep typing by infering a new type based on a merged T1 and T2, maybe you could take inspiration on it?

  • 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.

    SurveyJS logo
  • fp-ts

    Functional programming in TypeScript

  • Yes, you can do this if you use a higher-kinded type for TestMergeFn instead of a function type. I'll use the HKT implementation from fps-ts because it has had more work put into it than hkts.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts