Created
July 21, 2011 13:51
-
-
Save mwmitchell/1097228 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn string-or-nil? [x] (or (string? x) (nil? x))) | |
| hotel => (contains {:lat number? :lng number? :name string? | |
| :address (contains {:line1 string-or-nil? | |
| :line2 string-or-nil? | |
| :city string? | |
| :region string? | |
| :postal_code string? | |
| :country_code string? | |
| :country_name string?}) | |
| :aka map? | |
| :udicode string?}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment