fromThese :: A -> B -> These A B -> (A,B) -- testing 4 combinations of argument values -- pruning with 0/0 rules -- 0 candidates of size 1 -- 0 candidates of size 2 -- 1 candidates of size 3 -- 0 candidates of size 4 -- 0 candidates of size 5 -- 0 candidates of size 6 -- 0 candidates of size 7 -- 0 candidates of size 8 -- 0 candidates of size 9 -- 1 candidates of size 10 -- tested 2 candidates fromThese x y None = (x,y) fromThese x y (This z) = (z,y) fromThese x y (That z) = (x,z) fromThese x y (These z x') = (z,x') listhese :: These A A -> [A] -- testing 3 combinations of argument values -- pruning with 0/0 rules -- 1 candidates of size 1 -- 0 candidates of size 2 -- 0 candidates of size 3 -- 0 candidates of size 4 -- 0 candidates of size 5 -- 0 candidates of size 6 -- 0 candidates of size 7 -- 0 candidates of size 8 -- 0 candidates of size 9 -- 1 candidates of size 10 -- tested 2 candidates listhese None = [] listhese (This x) = [x] listhese (That x) = [x] listhese (These x y) = [x,y] cathis :: [These A B] -> [A] -- testing 5 combinations of argument values -- pruning with 3/3 rules -- 1 candidates of size 1 -- 0 candidates of size 2 -- 0 candidates of size 3 -- 0 candidates of size 4 -- 0 candidates of size 5 -- 1 candidates of size 6 -- 2 candidates of size 7 -- 0 candidates of size 8 -- 1 candidates of size 9 -- 4 candidates of size 10 -- 2 candidates of size 11 -- tested 10 candidates cathis [] = [] cathis (t:ts) | isThis t = fromThis t:cathis ts | otherwise = cathis ts cathat :: [These A B] -> [B] -- testing 4 combinations of argument values -- pruning with 3/3 rules -- 1 candidates of size 1 -- 0 candidates of size 2 -- 0 candidates of size 3 -- 0 candidates of size 4 -- 0 candidates of size 5 -- 1 candidates of size 6 -- 2 candidates of size 7 -- 0 candidates of size 8 -- 1 candidates of size 9 -- 4 candidates of size 10 -- 2 candidates of size 11 -- tested 10 candidates cathat [] = [] cathat (t:ts) | isThat t = fromThat t:cathat ts | otherwise = cathat ts cathese :: [These A A] -> [A] -- testing 5 combinations of argument values -- pruning with 7/7 rules -- 1 candidates of size 1 -- 0 candidates of size 2 -- 0 candidates of size 3 -- 0 candidates of size 4 -- 0 candidates of size 5 -- 3 candidates of size 6 -- 4 candidates of size 7 -- 2 candidates of size 8 -- 9 candidates of size 9 -- 20 candidates of size 10 -- 22 candidates of size 11 -- 35 candidates of size 12 -- 84 candidates of size 13 -- 86 candidates of size 14 -- 137 candidates of size 15 -- 324 candidates of size 16 -- 346 candidates of size 17 -- 511 candidates of size 18 -- tested 1584 candidates cannot conjure