Created
November 10, 2013 00:29
-
-
Save AlexBaranosky/7392037 to your computer and use it in GitHub Desktop.
This file contains 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
;; 1. | |
(t/ann foo [String -> (t/Set (t/Vec Integer))]) | |
(schema/defn foo :- #{ms/YearMonthDay} | |
[file :- String] | |
(-> file | |
slurp | |
edn/read-string)) | |
;; 2. | |
lein typed check foo-ns | |
;; 3. | |
Cannot parse list: (t/Set (t/Vec Integer)) | |
Found errors | |
Subprocess failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment