mori icon indicating copy to clipboard operation
mori copied to clipboard

mori.difference broken

Open stephanos opened this issue 10 years ago • 2 comments

s0 = mori.set(["cat", "dog", "mouse"])
s1 = mori.set(["dog", "cat", "bird"])
console.log(mori.difference(s0, s1))

prints

#{"mouse"}

but it should print

#{"mouse" "bird"}

(mori version 0.3.2 on Node v0.12.2)

stephanos avatar May 23 '15 08:05 stephanos

Only just now saw https://github.com/swannodette/mori/issues/147 - so maybe the docs are wrong, not the code.

stephanos avatar May 23 '15 09:05 stephanos

Can confirm, difference is working correctly in this case.

kellenlask avatar Nov 10 '17 22:11 kellenlask