#lang racket
(define-syntax (test stx)
#'(begin-for-syntax (displayln "Compiling")))
(test)

When run it gives:
Compiling
Compiling

Why it runs test twice?

And if I require it, then it triples:
Compiling
Compiling
Compiling

What's wrong?
-- 
Roman Klochkov
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to