Immutable containers have nice subtype relationships: arrays <= ordered dictionaries <= unordered maps <= weak maps <= functions.
-
-
Ths holds only because of immutability, thus we compare by-value (rather than by-reference). Covariance is our friend.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
and a weak map (and consequently every other data type and constant) can be church encoded.
-
Church encoding implies unlimited introspection of data. This breaks many nice things like private members and free theorems.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.