Re:Grain: A strongly-typed functional programming language f...
by Smaug123 on Wednesday April 28, 2021 @07:07AM
(#26967996)
Sadly I don't have "my own programming language", and even if I did, I think this is an unsolved problem in language design :P Interesting question, though; I'll think about it.
I agree that this would be an amazing thing to have, but I've never seen those anywhere in practice (not even in Idris). My gut-feeling tells me that it might not work in combination with composability in the sense that there might never be a proper global "equal" that everyone can agree one.
I'm curious - besides the ones mentioned, are there any other fundamental type concepts that you would build into your own programming language? :)