News for hackers. Stuff that matters.
Re:Typedefs by wires on Thursday November 05, 2020 @08:55AM (#24998204)
There is a payoff between strictness and usability. To be more precise in the type system beyond what typedefs has now, you need to involve more complicated stuff such as dependent types or refinement types. I don't have the answer, but having (co)products and recursion seems like a reasonable starting point.
Re:Typedefs by nsonha on Friday November 06, 2020 @06:32AM (#25006875)
by all levels of strictness I don't mean being as strict as possible. I meant it should accommodate for less strict usages as well as strict usages.