Adding the 'Type' type #2746
iacore
started this conversation in
Ideas & suggestions
Replies: 1 comment 6 replies
-
Sorry, what are you suggesting here? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@lpil Sorry about spamming the issue comment section. I am not invested in Gleam enough to write a language proposal, so I'll write down my thoughts now.
The idea is that, a language with Hindley-Milner type system usually use different syntax for terms and types. For example, in Rust:
In languages with dependent types, it's different. For example, in Zig:
I think this is too large of a change (if it were a language proposal) for Gleam.
Beta Was this translation helpful? Give feedback.
All reactions