Closed sritchie closed 11 years ago
Prepfn won't remember that it's wrapping a mapfn, filterfn or mapcatfn. The prepfn macro needs to respect what it's defining, OR we need to create a prepmapfn, prepmapcatfn and prepfilterfn.
mapfn
filterfn
mapcatfn
prepfn
prepmapfn
prepmapcatfn
prepfilterfn
This is actually my bad; you can wrap a prepfn in
(mapcatop (prepfn [_ _] (fn [tuples] ....))
And you're good to go. Note that the inner anonymous function doesn't need to be a serfn.
Prepfn won't remember that it's wrapping a
mapfn
,filterfn
ormapcatfn
. Theprepfn
macro needs to respect what it's defining, OR we need to create aprepmapfn
,prepmapcatfn
andprepfilterfn
.