It is indeed fairly simple to implement it, which is why it's so weird that it's never been implemented at a language level