4 ms·
"isInstance" doesn't cover the full range of type errors. It simply covers whether something is, say, an Int or a String. Types can encode much more. They can
by the_af 10y ago
"isInstance" doesn't cover the full range of type errors. It simply covers whether something is, say, an Int or a String.
Types can encode much more. They can encode behavior.