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:
parent
6fdef0dcfc
commit
5735d37794
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user