Liking cljdoc? Tell your friends :D

skeptic.examples


flat-maybe-base-type-failureclj

(flat-maybe-base-type-failure flag)
source

flat-maybe-multi-step-fclj

(flat-maybe-multi-step-f flag)

Inputs: [flag] Returns: (s/maybe s/Int)

Inputs: [flag]
Returns: (s/maybe s/Int)
sourceraw docstring

flat-maybe-multi-step-gclj

(flat-maybe-multi-step-g flag)

Inputs: [flag] Returns: (s/maybe s/Int)

Inputs: [flag]
Returns: (s/maybe s/Int)
sourceraw docstring

flat-maybe-nil-failureclj

(flat-maybe-nil-failure flag)
source

flat-maybe-successclj

(flat-maybe-success flag)
source

int-addclj

(int-add x)
(int-add x y)
(int-add x y & zs)

Inputs: ([x :- s/Int] [x :- s/Int y :- s/Int] [x :- s/Int y :- s/Int & zs :- [s/Int]]) Returns: s/Int

Inputs: ([x :- s/Int] [x :- s/Int y :- s/Int] [x :- s/Int y :- s/Int & zs :- [s/Int]])
Returns: s/Int
sourceraw docstring

mclj

source

maybe-multi-step-takes-intclj

(maybe-multi-step-takes-int x)

Inputs: [x :- s/Int] Returns: s/Int

Inputs: [x :- s/Int]
Returns: s/Int
sourceraw docstring

maybe-multi-step-takes-maybe-intclj

(maybe-multi-step-takes-maybe-int x)

Inputs: [x :- (s/maybe s/Int)] Returns: (s/maybe s/Int)

Inputs: [x :- (s/maybe s/Int)]
Returns: (s/maybe s/Int)
sourceraw docstring

maybe-multi-step-takes-strclj

(maybe-multi-step-takes-str x)

Inputs: [x :- (s/maybe s/Str)] Returns: (s/maybe s/Str)

Inputs: [x :- (s/maybe s/Str)]
Returns: (s/maybe s/Str)
sourceraw docstring

MaybeValueDescclj

source

mismatched-maybe-annotationclj

(mismatched-maybe-annotation x)

Inputs: [x :- (s/maybe s/Int)] Returns: s/Str

Another function. This one may not work.

Inputs: [x :- (s/maybe s/Int)]
Returns: s/Str

Another function. This one may not work.
sourceraw docstring

mismatched-wrong-annotationclj

(mismatched-wrong-annotation x)

Inputs: [x :- s/Str] Returns: s/Str

This one definitely won't work.

Inputs: [x :- s/Str]
Returns: s/Str

This one definitely won't work.
sourceraw docstring

multiple-aritiesclj

(multiple-arities x)
(multiple-arities y z)

Inputs: ([x :- s/Int] [y :- (s/maybe s/Int) z :- s/Int]) Returns: s/Str

Inputs: ([x :- s/Int] [y :- (s/maybe s/Int) z :- s/Int])
Returns: s/Str
sourceraw docstring

multiple-arities-basicclj

(multiple-arities-basic)
(multiple-arities-basic x)
(multiple-arities-basic x & y)
source

multiple-arities-with-annotationsclj

(multiple-arities-with-annotations)
(multiple-arities-with-annotations x)
(multiple-arities-with-annotations x y)
(multiple-arities-with-annotations x y & z)

Inputs: ([] [x :- s/Int] [x y] [x :- s/Int y :- s/Int & z :- [s/Int]]) Returns: s/Int

Inputs: ([] [x :- s/Int] [x y] [x :- s/Int y :- s/Int & z :- [s/Int]])
Returns: s/Int
sourceraw docstring

nclj

source

nested-maybe-base-type-failureclj

(nested-maybe-base-type-failure flag)
source

nested-maybe-multi-step-fclj

(nested-maybe-multi-step-f flag)

Inputs: [flag] Returns: MaybeValueDesc

Inputs: [flag]
Returns: MaybeValueDesc
sourceraw docstring

nested-maybe-multi-step-gclj

(nested-maybe-multi-step-g flag)

Inputs: [flag] Returns: MaybeValueDesc

Inputs: [flag]
Returns: MaybeValueDesc
sourceraw docstring

nested-maybe-nil-failureclj

(nested-maybe-nil-failure flag)
source

nested-maybe-successclj

(nested-maybe-success flag)
source

optional-argsclj

(optional-args x & others)

Inputs: [x :- s/Int & others] Returns: s/Str

Inputs: [x :- s/Int & others]
Returns: s/Str
sourceraw docstring

sample-annotated-bad-fnclj

(sample-annotated-bad-fn x)

Inputs: [x :- s/Int] Returns: s/Int

Inputs: [x :- s/Int]
Returns: s/Int
sourceraw docstring

sample-bad-fnclj

(sample-bad-fn x)
source

sample-bad-let-fnclj

(sample-bad-let-fn x)
source

sample-let-bad-fnclj

(sample-let-bad-fn x)
source

sample-let-mismatched-typesclj

(sample-let-mismatched-types x)
source

sample-multi-line-let-bodyclj

(sample-multi-line-let-body x)
source

with-annotated-anonymous-functionclj

(with-annotated-anonymous-function z)
source

with-annotated-inputclj

(with-annotated-input x)

Inputs: [x :- s/Int]

Inputs: [x :- s/Int]
sourceraw docstring

with-annotated-outputclj

(with-annotated-output x)

Inputs: [x] Returns: s/Str

Inputs: [x]
Returns: s/Str
sourceraw docstring

with-annotationsclj

(with-annotations x)

Inputs: [x :- s/Int] Returns: s/Str

Inputs: [x :- s/Int]
Returns: s/Str
sourceraw docstring

with-let-plainclj

(with-let-plain x)
source

with-let-variablesclj

(with-let-variables z)

Inputs: [z :- s/Int]

Inputs: [z :- s/Int]
sourceraw docstring

with-multiple-args-and-function-callclj

(with-multiple-args-and-function-call x y)

Inputs: [x :- s/Int y :- s/Bool] Returns: s/Str

Another function.

Inputs: [x :- s/Int y :- s/Bool]
Returns: s/Str

Another function.
sourceraw docstring

with-one-annotated-inputclj

(with-one-annotated-input x y)

Inputs: [x :- s/Int y]

Inputs: [x :- s/Int y]
sourceraw docstring

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