4 ms·
I'm having quite the day. I think switching between clojure and python is frying my circuit. I know the difference between a map syntax and set and somehow mana
by blain_the_train 10y ago
I'm having quite the day. I think switching between clojure and python is frying my circuit. I know the difference between a map syntax and set and somehow managed to use set in place of map. I think this happened in part because my point is that any output of union(set, dict) is up to the language designer and has no basis in set theory (though i would be interested to here other wise)
>>> s = set([1, 2])
>>> d = dict(x="hi")
>>> s.union(d)
set([1, 2, 'x'])
apologies for the confusion... I need to proof read my comments more throughly.