[racket] Parameterize current-seconds?

From: Scott Klarenbach (scott at pointyhat.ca)
Date: Mon Apr 1 16:41:27 EDT 2013

Hi there,

Since current-seconds isn't a paramter, is there a way to parameterize it
similar to the examples of overridding the current-error-port, etc?

I can (make-parameter current-seconds) but naturally this doesn't affect
any calls to (current-seconds) that happen in that scope.

Thanks.

-- 
Talk to you soon,

Scott Klarenbach

PointyHat Software Corp.
www.pointyhat.ca
p 604-568-4280
e scott at pointyhat.ca
200-1575 W. Georgia
Vancouver, BC V6G2V3

_______________________________________
To iterate is human; to recur, divine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130401/bfc43efa/attachment.html>

Posted on the users mailing list.