Thank you all! Now I understand it.
Wed, 5 Nov 2014 10:28:07 -0500 от Stephen Chang <[email protected]>: >Here is some more information: >http://bugs.racket-lang.org/query/?cmd=view&pr=14535 > >On Wed, Nov 5, 2014 at 9:26 AM, Jay McCarthy < [email protected] > wrote: >> It only prints it once for me. Are you running it in DrRacket? Perhaps >> it is because one comes from Check Syntax? >> >> Jay >> >> On Wed, Nov 5, 2014 at 6:02 AM, Roman Klochkov < [email protected] > wrote: >>> #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 >>> >> >> >> >> -- >> Jay McCarthy >> http://jeapostrophe.github.io >> >> "Wherefore, be not weary in well-doing, >> for ye are laying the foundation of a great work. >> And out of small things proceedeth that which is great." >> - D&C 64:33 >> ____________________ >> Racket Users list: >> http://lists.racket-lang.org/users -- Roman Klochkov
____________________ Racket Users list: http://lists.racket-lang.org/users

