Dirty Pig tricks
Monday, March 07, 2011
4:48 PM
Dirty Pig Tricks
canonicalization: if you have lots of variants of a thing, choose one
A symmetric relation (s1,s2) in R => (s2,s1) in R. 
FILTER r by s1<s2; -- canonicalizes the pairs
parameter distribution via CROSS/flatten
you can move FILTERs from end, upwards, without changing the script. 
s = SOMETHING®;
t = FILTER s BY (s1<s2);
can be reversed. 