bc.notin(bc2) works for me using the hash pairs, but when I try to use the block to pass further parameters everything from the collection (bc) seems to get through. Here is a rebl output, but it also exhibits the same behavior in the bud runtime while running a file. Perhaps my rebl (and bud) has an error in it, but this is the exact example from the docs.
bc.notin(bc2) works for me using the hash pairs, but when I try to use the block to pass further parameters everything from the collection (bc) seems to get through. Here is a rebl output, but it also exhibits the same behavior in the bud runtime while running a file. Perhaps my rebl (and bud) has an error in it, but this is the exact example from the docs.
rebl> /lsrule 1: ts <= [[1,2],[3,4],[5,6]] 2: ns <= [[1,2],[4,4],[5,9]] 3: stdio <~ fil.inspected rebl> /tick rebl> /tick rebl> fil <+ ts.notin(ns, :key => :key) {|l,r| true if l.val <= r.val} rebl> /tick rebl> /tick [1, 2] [5, 6] [3, 4] rebl> /lsrule 1: ts <= [[1,2],[3,4],[5,6]] 2: ns <= [[1,2],[4,4],[5,9]] 3: stdio <~ fil.inspected 24: fil <+ ts.notin(ns, :key => :key) {|l,r| true if l.val <= r.val}
-Jonathan
*I uninstalled and reinstalled the bud gem right before this