Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
> let a = set ["John"; "Bob"; "Mary"; "Serena"]
|
||||
let b = set ["Jim"; "Mary"; "John"; "Bob"];;
|
||||
|
||||
val a : Set<string> = set ["Bob"; "John"; "Mary"; "Serena"]
|
||||
val b : Set<string> = set ["Bob"; "Jim"; "John"; "Mary"]
|
||||
|
||||
> (a-b) + (b-a);;
|
||||
val it : Set<string> = set ["Jim"; "Serena"]
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
> Set.union (Set.difference a b) (Set.difference b a);;
|
||||
val it : Set<string> = set ["Jim"; "Serena"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue