I was reading Friedman and Wand's "Reification: Reflection Without Metaphysics" and it uses the following rec syntax which I do not know:
(define <simple>
(lambda (fun)
(lambda (e r k)
((rec loop ; <--- What is rec here?
(lambda (e k)
(if (null? e) (k nil)
((denotation (first
e))
r
(lambda (v)
(loop
(rest e)
(lambda (w)
(k (cons v w)))))))))
(lambda (v*) (fun v* k))))))
The paper says they use Scheme 84, but I couldn't find that reference manual on schemers.org (or on google for that matter). Could someone please explain this rec syntax? A few simple examples that use rec would be appreciated as well.