Skip to content

Instantly share code, notes, and snippets.

@johnwalker
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnwalker/b43315af11bb9dc4a197 to your computer and use it in GitHub Desktop.
Save johnwalker/b43315af11bb9dc4a197 to your computer and use it in GitHub Desktop.
Fails for me on typed-clojure 2.7.69, 2.7.70
(ns experimental-clojure.core
(:require [clojure.core.typed :as t]))
(t/ann add-two (t/IFn [Number -> Number]))
(defn add-two [n]
(+ 2 n))
;; (t/cf add-two)
;; (t/check-ns)
@johnwalker
Copy link
Author

It was a maven bug. Works for 2.7.71+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment