9.0
top
← prev up next →

define-sobjπŸ”— i

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...+)

Examples:
> (define/sobj (testx)
(list xsobj ))
> (test42)

'(42 #<syntax:eval:3:0 (test 42)>)

> (test7)

'(7 #<syntax:eval:4:0 (test 7)>)

syntax

sobj

Recognized specially within forms like define/sobj . A sobj form out of context is a syntax error.

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /