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
This commit is contained in:
Asumu Takikawa 2013-04-08 11:17:55 -04:00
parent 6fdef0dcfc
commit 5735d37794

View File

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