RosettaCodeData/Task/Symmetric-difference/Ursala/symmetric-difference.ursala
2023-07-01 13:44:08 -04:00

13 lines
199 B
Text

a = <'John','Bob','Mary','Serena'>
b = <'Jim','Mary','John','Bob'>
#cast %sLm
main =
<
'a': a,
'b': b,
'a not b': ~&j/a b,
'b not a': ~&j/b a,
'symmetric difference': ~&jrljTs/a b>