Advertisement
Guest User

Untitled

a guest
May 8th, 2015
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. (ns core-typed-bug.core
  2. (:require [ clojure.core.typed :as t ]))
  3.  
  4. (t/defprotocol P
  5. (f
  6. [a] :- Any
  7. [a b :- Any] :- Any))
  8.  
  9. (t/ann-record R [])
  10. (defrecord R []
  11. P
  12. (f [a] 1)
  13. (f [a b] 2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement