fix: properly specialize on functions passed to any/all/map
#861
+6
−6
any/all/map
#861