Next: , Previous: Entry Traps, Up: Traps


5.21.3.13 Apply Traps

The <apply-trap> class implements traps that are triggered upon any procedure application. No further parameters are needed to specify an instance of this class, so there are no class-specific trap options. Note that it remains possible to use the common trap options (see Common Trap Options), for example to set a trap for the next application where some condition is true.

— Class: <apply-trap>

Class for traps triggered by any procedure application.

Example:

     (install-trap (make <apply-trap>
             	#:condition my-condition
     		#:behaviour gds-debug-trap))