Comment
Comment by adamscybot
One language that comes to mind is ReasonML. It doesn't have runtime checking. It's structural and compile time, but the guarantees are supposedly cast iron. https://reasonml-old.github.io/guide/language/type#design-de...
This doesn't work, since the dst array has to be one that can contain both string and bool in the first place.