You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
Suppose I want to spec a function like run!. run! takes an ifn? and a
‘coll’, where the coll argument may be any reducible collection (so
coll? is really not the right choice, nor is seqable?).
I tried to construct a spec for reducible collections but failed. The
protocol used in reduce is extended to java.lang.Object, so
(satisfies? CollReduce coll) will never produce a useful answer.