You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
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:
constadd
: number=> number => number
=x=>y=>x+y
Defining 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:
ReScript allows this but has a strict auto-formatter that would collapse my desired format to:
constadd : number=> number => number =x=>y=>x+y
Which 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!
The text was updated successfully, but these errors were encountered:
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:
Defining 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:
ReScript allows this but has a strict auto-formatter that would collapse my desired format to:
Which 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!
The text was updated successfully, but these errors were encountered: