[racket] string->number failure value

From: Marijn (hkBst at gentoo.org)
Date: Tue Aug 16 11:10:07 EDT 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Carl,

On 08/16/11 15:45, Carl Eastlund wrote:
> Writing (or (string->number str) default) has the same effect, since 
> #f never indicates a success.  The same is not true of hash-ref,
> where #f can be a value in the hash table; that's why it needs an
> explicit default argument.

That is a good point, thanks.

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5KiE8ACgkQp/VmCx0OL2x2KQCgpVP7bzUJIb8yMn81sudPr8MO
cFYAn3VNoL/bL7etLfH7M/PBNTmGZfxv
=p1Py
-----END PGP SIGNATURE-----


Posted on the users mailing list.