[Haskell-cafe] Sets symmetric difference

Jenny678 mestor1 at gmx.de
Sat Jun 17 20:37:15 EDT 2006


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.



More information about the Haskell-Cafe mailing list