Liking cljdoc? Tell your friends :D

tupelo.interval

Tupelo - Making Clojure even sweeter

Tupelo - Making Clojure even sweeter
raw docstring

->doublesclj/s≠

clj
(->doubles itvl)
(->doubles itvl step)
cljs
(->doubles G__47367)
(->doubles G__47371 G__47372)

Inputs: ([itvl :- Interval] [itvl :- Interval step :- s/Num]) Returns: [java.lang.Double]

For an Interval with integer bounds, returns a vector of all integers within the Interval

Inputs: ([itvl :- Interval] [itvl :- Interval step :- s/Num])
Returns: [java.lang.Double]

For an Interval with integer bounds, returns a vector of all integers within the Interval
sourceraw docstring

->integersclj/s≠

clj
(->integers itvl)
(->integers itvl step)
cljs
(->integers G__47353)
(->integers G__47357 G__47358)

Inputs: ([itvl :- Interval] [itvl :- Interval step :- s/Int]) Returns: [s/Int]

For an Interval with integer bounds, returns a vector of all integers within the Interval

Inputs: ([itvl :- Interval] [itvl :- Interval step :- s/Int])
Returns: [s/Int]

For an Interval with integer bounds, returns a vector of all integers within the Interval
sourceraw docstring

contains?clj/s

(contains? interval val)

Inputs: [interval :- Interval val :- s/Any] Returns: s/Bool

Returns true iff an interval contains a value such that (lower < L < upper).

Inputs: [interval :- Interval val :- s/Any]
Returns: s/Bool

Returns true iff an interval contains a value such that (lower < L < upper).
sourceraw docstring

interval?clj/s

(interval? it)

Returns true iff the arg represents an interval

Returns true iff the arg represents an interval
sourceraw docstring

newclj/s

(new lower upper)

Inputs: [lower upper]

Creates a new generic Interval record using the ->Interval constructor function.

Inputs: [lower upper]

Creates a new generic Interval record using the `->Interval` constructor function.
sourceraw docstring

new-anti-sliceclj/s

(new-anti-slice lower upper)

Inputs: [lower upper]

Creates a new anti-slice Interval record using the ->Interval constructor function.

Inputs: [lower upper]

Creates a new anti-slice Interval record using the `->Interval` constructor function.
sourceraw docstring

new-closedclj/s

(new-closed lower upper)

Inputs: [lower upper]

Creates a new closed Interval record using the ->Interval constructor function.

Inputs: [lower upper]

Creates a new closed Interval record using the `->Interval` constructor function.
sourceraw docstring

new-openclj/s

(new-open lower upper)

Inputs: [lower upper]

Creates a new open Interval record using the ->Interval constructor function.

Inputs: [lower upper]

Creates a new open Interval record using the `->Interval` constructor function.
sourceraw docstring

new-sliceclj/s

(new-slice lower upper)

Inputs: [lower upper]

Creates a new slice Interval record using the ->Interval constructor function.

Inputs: [lower upper]

Creates a new slice Interval record using the `->Interval` constructor function.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close