-
Notifications
You must be signed in to change notification settings - Fork 87
define syntax
Chris Petersen edited this page Oct 16, 2014
·
1 revision
define-syntax defines name as a macro special form, whose expansion is specified in the expander.
Parameter | Description |
---|---|
name | Macro name |
expander | Macro expander |
Example 1: Example from Gambit
> (define-syntax unless
(syntax-rules ()
((unless test body ...)
(if test #f (begin body ...)))))
> (unless (fx= 0 1) (display "Hi\n"))
Hi
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip