[racket] Extract values from `time` function
On 2012-02-05 16:27:17 +0100, Sergi Mansilla wrote:
> I'd like to do that with the `time` function, but I can't figure out
> how to extract the values it prints, since it doesn't seem to be a
> return value. I am clearly missing something obvious. How can I use
> values returned by `time`?
`time` is a macro that uses `time-apply` internally and prints the
results. If you want to use the results in your own way, you can use
`time-apply` directly (it returns multiple values).
Cheers,
Asumu