Sorawee Porncharoenwase <sorawee.pwase@gmail.com>
This library provides a macro define/sobj , which is similar to define , but it has an access to syntax objects for the function call, via the variable sobj . In return, the function must be used in the first-order fashion.
syntax
( define/sobj function-headerbody...+)
> (test42)'(42 #<syntax:eval:3:0 (test 42)>)
> (test7)'(7 #<syntax:eval:4:0 (test 7)>)
syntax