Arc Cross Reference |
testify[procedure] testify xIf x is not a function, returns a function that tests the argument is the same as x. Procedures like some, all, mem, and find "testifies" the test predicate argument. (def testify (x) (if (isa x 'fn) x [is _ x])) (Comment: well... certainly it is a shortcut for common cases, but you have to treat specially if you want to deal with a list of functions... I hope it won't bite back later -- shiro) | AboutAlphabetical Indexa b c d e f g h i j k l m n o p q r s t u v w x y z other ReleasesRelated |