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

Project status #363

@kee-oth

Description

@kee-oth

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 + 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:

const add
    : (x: number) => (y: number) => number
    = x => y => x + y

ReScript allows this but has a strict auto-formatter that would collapse my desired format to:

const add : 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions