Hi all,

I’m running into this problem with string->date in srfi/19:

;;; begin Interactions
> (require srfi/19)
> (string->date "Sun, 02 Feb 2015" "~a, ~d ~b ~Y”)
result arity mismatch;
expected number of values not received
 expected: 1
 received: 0
 values...:
;;; end Interactions

I’m assuming there’s something I am missing about how dates are handled, but 
from what I’ve read it seems like the code above should be doing it. What am I 
missing?

(And, is there a better way to be reading dates in Racket, or is this the 
preferred way?)

Best,
jmj

P.S. Attempting to copy/paste the above error message from the Interactions 
window crashed DrR (v6.1.1) three times. This doesn’t seem to be reproducible 
by copying any other error messages, though, so I haven’t filed a bug report 
yet; figured perhaps the answer to the string->date problem may shed some light 
on this, too...


____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to