ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


4. 4
   f\ gets the elements difference

 

logo

f\ a1 a2 [a3 .. aN]       where a1 a2 [a3 .. aN] are set variables

f\`mtm~ a1 a2 [a3 .. aN]

f\/mtm~ a1 a2 [a3 .. aN]

f\

When specified by itself then get the difference of the object on top of stack with the one one below top of stack then push result on the stack

setop  setoid  2*  notcommu        ins:H_H_H  ous:H_H_H

●  Operator f\ gets the elements difference


 

f\ EXAMPLE
The following example shows how to display the files in two directories that have the same content. These files may be located in different directories and may have different names.

 

f\ OPERATION

TRASH TEMPLATE THAT NEEDS TO BE EDITED

①  aspl> a12 = f\ a1 a2
    (a12 is assigned the elements difference between a1 and a2)

②  aspl> display a12
    (print out a12)

③  aspl> v d a12
    (view internals of set variable a12)

 

● Tickable Predicates for f\

This f\ is tickable with predicates that are shown in the following table:

       a yellow note
f\`_  gets the elements difference 
f\`c=  gets the elements difference such that they have the same checksum 
f\`c~  gets the elements difference such that they have different checksums 
f\`c~~  gets the elements difference such that they have all over different checksums 
f\`h=  gets the elements difference such that they have the same entropy 
f\`h~  gets the elements difference such that they have different entropies 
f\`h~~  gets the elements difference such that they have all over different entropies 
f\`mtm=  gets the elements difference such that they have the same make time 
f\`mtm~  gets the elements difference such that they have different make times 
f\`mtm~~  gets the elements difference such that they have all over different make times 
f\`mtm<  gets the elements difference such that they have a prior make time 
f\`mtm<=  gets the elements difference such that they have prior or same make time 
f\`mtm>  gets the elements difference such that they have more recent make time 
f\`mtm>=  gets the elements difference such that they have more recent or same make time 
f\`ks=  gets the elements difference such that they have the same ksum 
f\`ks~  gets the elements difference such that they have different ksums 
f\`ks~~  gets the elements difference such that they have all over different ksums 
(C)2024 ASPL Inc.