Liking cljdoc? Tell your friends :D

skeptic.analysis.native-fns

Native typing for clojure.lang.Numbers static calls and selected clojure.core invokes. Toolchain reference (Clojure 1.11.1, tools.analyzer.jvm 1.2.3):

  • Numbers: inc/dec argc 1; add/multiply argc 2 (n-ary +/* is nested static calls); minus argc 1 or 2; isPos/isNeg argc 1 -> bool.
  • Invoke (native-fn-dict): (+) (+ x) () ( x); str; format; even? odd?; inc when not inlined.
  • Literal (+ 1 2 3) never yields top-level :invoke; test 3-arg + with ((resolve '+) 1 2 3).
Native typing for clojure.lang.Numbers static calls and selected clojure.core invokes.
Toolchain reference (Clojure 1.11.1, tools.analyzer.jvm 1.2.3):
- Numbers: inc/dec argc 1; add/multiply argc 2 (n-ary +/* is nested static calls);
  minus argc 1 or 2; isPos/isNeg argc 1 -> bool.
- Invoke (native-fn-dict): (+) (+ x) (*) (* x); str; format; even? odd?; inc when not inlined.
- Literal (+ 1 2 3) never yields top-level :invoke; test 3-arg + with ((resolve '+) 1 2 3).
raw docstring

native-fn-dictclj

source

static-call-native-infoclj

(static-call-native-info class method arity)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close