Just in case you were wondering, our fabulous new Set abstraction in JS doesn't have union or intersection http://www.2ality.com/2015/01/es6-set-operations.html …
-
-
Replying to @drboolean
Or map... Do you know why Set and Map don't have a map function?
2 replies 0 retweets 0 likes -
Replying to @evanburchard
map must preserve structure. Consider Set(['a', 'b', 'c']).map(x => x.length) // Set(1)
2 replies 0 retweets 0 likes -
Replying to @drboolean @evanburchard
map only needs to preserve identity and composition. Consider ((->) t) with no length or structure, yet has map.
1 reply 0 retweets 0 likes -
Replying to @dibblego @drboolean
I can pronounce those characters individually, but I don't understand ((->) t). Can you point me somewhere?
2 replies 0 retweets 0 likes
Replying to @evanburchard @drboolean
map has this type right? (a -> b) -> f a -> f b
12:57 AM - 16 Dec 2016
0 replies
0 retweets
0 likes
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.