clojure.core.typed/def-alias
renamedclojure.core.typed/defalias
clojure.core.typed/loop>
renamed toclojure.core.typed/loop
clojure.core.typed/dotimes>
renamed toclojure.core.typed/dotimes
clojure.core.typed/for>
renamedclojure.core.typed/for
- return type annotation now goes after the binder:
(for [a :- t, i] :- r, i)
- Deprecated binder syntax no longer works:
[[a :- t] i]
- return type annotation now goes after the binder:
clojure.core.typed/doseq>
renamedclojure.core.typed/doseq
- Deprecated binder syntax no longer works:
[[a :- t] i]
- Deprecated binder syntax no longer works:
clojure.core.typed/fn>
renamedclojure.core.typed/fn
- Return type now goes after the binder:
(fn [a :- t] :- t, b)
- Return type now goes after the binder:
clojure.core.typed/def>
renamedclojure.core.typed/def
- Note it is impossible to refer to a var called
def
- Note it is impossible to refer to a var called
clojure.core.typed/defprotocol>
renamedclojure.core.typed/defprotocol
- New syntax cannot be used in conjunction with
ann-protocol
- New syntax cannot be used in conjunction with
clojure.core.typed/defn>
renamedclojure.core.typed/defn
- Return type now goes after the binder:
(defn name [a :- t] :- t, b)
- Return type now goes after the binder:
clojure.core.typed/ann
:nocheck
metadata renamed to:no-check
All
renamedclojure.core.typed/All
Any
renamedclojure.core.typed/Any
Difference
renamedclojure.core.typed/Difference
Fn
renamedclojure.core.typed/IFn
HMap
renamedclojure.core.typed/HMap
HSeq
renamedclojure.core.typed/HSeq
HSequential
renamedclojure.core.typed/HSequential
HVec
renamedclojure.core.typed/HVec
I
renamedclojure.core.typed/I
Nothing
renamedclojure.core.typed/Nothing
predicate
renamedclojure.core.typed/Pred
Rec
renamedclojure.core.typed/Rec
TFn
renamedclojure.core.typed/TFn
U
renamedclojure.core.typed/U
Value
renamedclojure.core.typed/{Value,Val}
Seq*
renamed toclojure.core.typed/HSeq
- HSeq takes one argument:
(Seq* Any)
->(HSeq [Any])
- HSeq takes one argument:
Vector*
renamed toclojure.core.typed/HVec
- HSeq takes one argument:
(Vector* Any)
->(HVec [Any])
- HSeq takes one argument:
[& {} -> ]
optional keyword argument syntax is now[& :optional {} -> ]
(HMap {})
mandatory key syntax is now(HMap :mandatory {})
:kind
option forTFn
andAll
binders is removed- eg. (TFn [[x :kind ...]])