Opaque types in JavaScript: https://codemix.com/opaque-types-in-javascript/
Shows a nice compromise between wrapper types (stronger type guarantees) and primitive types (lots of functions already defined on the type).
miniblog.
Related Posts
How to Write Seemingly Unhygienic and Referentially
Opaque Macros with Syntax-rules: a fun paper on macros in Scheme, and how you can subvert hygiene using only syntax-rules!
TIL XEmacs has more datatypes! For example, a keymap is an opaque type rather than a list:
How to Write Seemingly Unhygienic and Referentially Opaque Macros with
Syntax-rules http://t.co/zMetrJ0hyA
