[racket] How to forbid Racket console to display lists?
Version Win 8.1 64bit
Hello, I use "racket.exe [file name]" to execute .rkt file. But sometimes when in this situation (just an example easy to explain):
#lang racket
(range 100000)
The console will automatically display a list of 100000 elements even if I don't want to display it.
Some times I just want to know how much time it will take for a function to work out a very large list, for example:
(define f <a procedure to form a very large list>)
(time (f args))
Now in this case, Racket will still try to display the list for you, and you will never see the result you want. So, how to forbid Racket console to display lists?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140815/7446e819/attachment-0001.html>