Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Question: Possible HKT support? #2

Open
raveclassic opened this issue May 26, 2019 · 1 comment
Open

Question: Possible HKT support? #2

raveclassic opened this issue May 26, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@raveclassic
Copy link

Hi!

Currently I'm using TypeScript as a primary language but it lacks a predictable, complete and sound type system so this project looks very promising and I'm looking forward to the first release.

The question I'd like to ask is whether you're going to support higher-kinded types?

This is a commonly requested feature in languages like TypeScript#1213 and Flow#30 and the only possible solution is lightweight higher-kinded polymorphism which is implemented in libraries like fp-ts. But the solution is far from perfect, leads to poor DX and messy code.

However fully implementing HKT in Hegel would open doors to adopting battle tested FP practices from languages like Haskell and Scala.

@JSMonk
Copy link
Owner

JSMonk commented May 26, 2019

Hi!

It's a really good one. I think the answer is yes.

@JSMonk JSMonk added the enhancement New feature or request label Apr 24, 2020
JSMonk pushed a commit that referenced this issue Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants