Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
use AppleScript version "2.4" -- OS X 10.10 (Yosemite) or later
|
||||
use framework "Foundation"
|
||||
|
||||
on symmetricDifference(a, b)
|
||||
set a to current application's class "NSSet"'s setWithArray:(a)
|
||||
set b to current application's class "NSMutableSet"'s setWithArray:(b)
|
||||
|
||||
set output to a's mutableCopy()
|
||||
tell output to minusSet:(b)
|
||||
tell b to minusSet:(a)
|
||||
tell output to unionSet:(b)
|
||||
|
||||
return output's allObjects() as list
|
||||
end symmetricDifference
|
||||
Loading…
Add table
Add a link
Reference in a new issue