News for hackers. Stuff that matters.
Re:Hyper Typing by dlahoda on Sunday May 18, 2025 @10:22PM (#44026058)
lean4 unifies types and values, so that types feels so natural. you stop thinking types at all as you think about types in rust or csharp. and haskell does not have that feeling too.

zig may be like that too, but not tried.

Re:Hyper Typing by lblume on Monday May 19, 2025 @12:13AM (#44026449)
Yes. It might sound counter-intuitive or even ironical but the next logical step is to make the type system more, not less expressive and to add completely dependent types. Every language already has them to the extent of Array<T, N> (or T[] & { length: N }, or a recursively defined Tuple<T, N>), but having true flow- and value-dependent types would allow for more concise and expressive code.