Hello,
I noticed there are differences when I run HtDP programs in DrRacket IDE vs 
the "racket" command line.

For example, the following program's test passes in DrRacket IDE:

;; file.rkt - Set to Beginning Student
(check-expect (exact? (string->number "1.0")) true)

But when I run "raco test file.rkt", the test fails.

As another example, the follow Beginning Student program generates an error 
when run in DrRacket IDE (the error being read-syntax: illegal use of ```):

;; file.rkt - Set to Beginning Student
(define (quasiquote x) x)
(define (f x) 123)
`(f 888)

But when I run "racket file.rkt", no error is generated, and 123 is printed.

Is there a way I can run HtDP programs from the command-line and get 
behavior that's the same as when I click "Run" button in the IDE?

Thanks


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/21fffb90-1fb8-46bc-a772-121cb92da5cdn%40googlegroups.com.

Reply via email to