PasteRack.org
Paste # 20204
2018-04-09 19:36:22

Fork as a new paste.

Paste viewed 102 times.


Embed:

with-syntax in typed/racket

  1. #lang typed/racket
  2. (require syntax/parse)
  3. (with-syntax ([foo #'abc]) #'(foo bar))

=>

- : (Syntaxof Any)

#<syntax:2:0 (abc bar)>