Hello,

Know Somebody the code for symmetric difference (Sets)

examples

>symmetric_difference [1..8][5..7] 
>[1,2,3,4,8]

>symmetric_ difference [1..8][] 
>[1,2,3,4,5,6,7,8]

>symmetric_ difference [1..12][10..20]  
>[1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,19,20]

Thanks for Help
--
View this message in context: 
http://www.nabble.com/Sets-symmetric-difference-t1805165.html#a4919646
Sent from the Haskell - Haskell-Cafe forum at Nabble.com.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to