Use any/c for the ip-address-string? domain

Previously, it was `string?` which is needlessly
restrictive and caused premature contract failures.

Please merge into 5.3.4

original commit: 5735d37794
This commit is contained in:
Asumu Takikawa 2013-04-08 11:17:55 -04:00
parent 0a2edd7045
commit 213f2024a0

View File

@ -16,7 +16,7 @@
[ip-address? (-> any/c boolean?)]
;; check if a given string is a valid representation of an IP address
[ip-address-string? (-> string? boolean?)]
[ip-address-string? (-> any/c boolean?)]
;; construct an IP address from various inputs
[make-ip-address