2 ms·
> No == vs ===, although typeof has a simpler equivalent Sure, but elm has its own issues with comparison as these are essentially implemented as a compiler ha
by dan-robertson 8y ago
> No == vs ===, although typeof has a simpler equivalent
Sure, but elm has its own issues with comparison as these are essentially implemented as a compiler hack, and only comparable (ie primitive or lists/tulles thereof) types can be used as keys for the built in map type (so you need to know about primitive types too)
- tabtab 8y agoI'm sorry, but any language that has to rely on "===" to know what's in what is usually fundamentally screwed up. (Yes, I'll probably get downvoted for this. Oh well, truth often ain't popular.)