Help - Higher kinded types

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean JavaScript Code. Always.
  • 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

    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?

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • 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