Created
March 28, 2014 16:05
-
-
Save arohner/9836337 to your computer and use it in GitHub Desktop.
core.typed bug?
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
(ns circle.scratch | |
(:require [clojure.core.typed :as t])) | |
(t/ann foo [t/Int -> Boolean]) | |
(defn foo [x] | |
true) | |
(t/ann bar [& :optional {x t/Int} -> Boolean]) | |
(defn bar [& {:keys [x] | |
:or {x 3}}] | |
(foo x)) |
Author
arohner
commented
Mar 28, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment