-
-
Notifications
You must be signed in to change notification settings - Fork 60
Project status #363
Description
Hi!
I found Hegel in my search for a TypeScript alternative that is more friendly for functional programming. I also love that I can define functions in this format:
const add
: number => number => number
= x => y => x + yDefining types outside of the function definition really helps with readability for me and also type portability within a project. It's actually really difficult to find something suitable for web development that allows this format. It seems that it's mainly just ML inspired functional languages allow this which is a shame.
TypeScript's version is noisy and couples the parameter names with the type causing redundancy:
const add
: (x: number) => (y: number) => number
= x => y => x + yReScript allows this but has a strict auto-formatter that would collapse my desired format to:
const add : number => number => number = x => y => x + yWhich completely undermines the readability of pulling the types out.
Elm interop with JS is difficult and the future of the language is uncertain.
So that leaves Hegel at the moment. This leaves me with the question of: is Hegel still being maintained or supported? I'd really like to use it but it looks like the repo doesn't have much going on and the last Twitter post is from early 2021.
Is Hegel still planning on being maintained or is this project abandoned?
Thanks!