typed.clojure/cns
typed.clojure/check-ns-cljs
from macro to functionclojure.core
and cljs.core
type rulesminimal-clj
example project to test typed.clj.checker in isolation without cljs depsclojure.core/defprotocol
rule for clj{s}cljs.core/implements?
rule for cljs(defn sym-or-kw? [a] (or (symbol? a) (keyword? a)))
:flow
filters
:filters
around 2015.typed.clojure.jvm
for jvm annotations
override-class
-- see typed.ann.clojure.jvm
for base environment usingclojure.core/reify
in Clojure checkerclojure.core/satisfies?
in Clojure checker:extend-via-metadata
(and other kw options) in defprotocol wrappertyped.clojure/check-ns
typed.clojure/check-ns{,-clj,cljs}
no longer require the namespaces being checked to depend on a Typed Clojure namespacetyped.malli.schema-to-type/register-malli->type-extension
clojure.java.io
annotations{pos,neg,nat}-int?
annotationstyped.clj.malli
submodule to typed.malli
t/def
and t/defn
never infer their types, and use t/ann
to register global annotation
typed.clojure
namespacelib.spec.alpha
lib for spec.alpha annotations
s/def
and s/fdef
typed.cljs.analyzer
typed.clojure
namespace for cross-platform useclojure.core.typed.special-vars=true
to restore:refer
ing these vars is not cross-platform. type resolution can
work without these varsclojure.core.typed.intern-defaliases=true
to restoreclojure.core/seqable?
, so now we can annotate as (t/Pred (t/Seqable t/Any))
clojure.core/boolean?
annotationclojure.core/inc
is appears in error messages instead of clojure.lang.RT/inc
typed.clj.malli
projectclojure.core/for
typing rule with destructuringclojure.core/let
typing ruletyped.clj.generators
namespace to typed.clj.checkerCan you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close