[racket] Why module runs twice?

From: Roman Klochkov (kalimehtar at mail.ru)
Date: Wed Nov 5 06:02:01 EST 2014

#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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141105/2980ae9b/attachment.html>

Posted on the users mailing list.