dub_gui
Re:Hazel: A live functional programming environment with typed holes
on Tuesday July 15, 2025 @06:25PM (#44576503)
The live demo is super cool! https://hazel.org/build/dev/
Re:Elixir 1.17 released: set-theoretic types in patterns, durations, O...
on Thursday June 13, 2024 @03:42PM (#40673738)
This looks similar to what you describe:
https://exercism.org/tracks/elixir/exercises
Re:Elixir 1.17 released: set-theoretic types in patterns, durations, O...
on Thursday June 13, 2024 @03:38PM (#40673684)
To clarify, the type-checker does not modify compilation to the beam at all. Instead, it takes into account the predicted runtime checks to inject more static types into its analysis.
For instance, without even introducing annotations, if a function head has a guard `is_boolean(x)`, using the + operator on x within that function would lead to a type error.
Re:Elixir 1.17 released: set-theoretic types in patterns, durations, O...
on Wednesday June 12, 2024 @12:12PM (#40659732)
You’re right about what a gradual type system means! A gradual type system allows flexibility in how you approach typing a codebase. It also means that your system incorporates a dynamic type, making your types 'gradual'.
Interestingly, gradual set-theoretic types are flexible enough to let you gradually implement type inference for that system. Hence, the gradual gradual type system. :-)