[racket] general facility for annotating procedures

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu Apr 21 15:59:08 EDT 2011

Eric Tanter wrote at 04/21/2011 04:55 PM:
> Something along the lines of:
> (lambda #:prop key val (x) x)
> and then have `procedure-properties' as means to retrieve the different properties for introspection.

One thing that might serve your needs is to define a struct that can be 
applied like procedure.  Search for "prop:procedure".


Posted on the users mailing list.