Liking cljdoc? Tell your friends :D

tupelo.gen

Tupelo - Clojure With A Spoonful of Honey

Tupelo - Clojure With A Spoonful of Honey
raw docstring

char-alphaclj

source

char-alphanumericclj

source

char-eolclj

A single EOL char

A single EOL char
sourceraw docstring

char-whitespaceclj

source

char-whitespace-eolclj

source

char-whitespace-horizclj

source

chars-eol+clj

One or more EOL chars.

One or more EOL chars.
sourceraw docstring

constantlyclj

(constantly arg)

Returns a generator which always yields the supplied argument w/o. Equivalent to gen/return

Returns a generator which always yields the supplied argument w/o.
Equivalent to `gen/return` 
sourceraw docstring

identifierclj

source

maybe-vecclj

(maybe-vec gen-arg)

Given a string generator, randomly return either the original string or a vector of its chars.

Given a string generator, randomly return either the original string or a vector of its chars.
sourceraw docstring

rand-nthclj

(rand-nth coll)

Returns a generator yielding a random element from the supplied collection. Equivalent to gen/elements

Returns a generator yielding a random element from the supplied collection.
Equivalent to `gen/elements` 
sourceraw docstring

txt-joinclj

(txt-join xgen)

Wraps the supplied generator using clojure.string/join.

Wraps the supplied generator using clojure.string/join.
sourceraw docstring

txt-join-spaceclj

(txt-join-space xgen)

Wraps the supplied generator using #(clojure.string/join \space %).

Wraps the supplied generator using #(clojure.string/join \space %).
sourceraw docstring

vector+clj

(vector+ gen-arg)

Return a non-empty vector (1 or more items) selected using the supplied generator.

Return a non-empty vector (1 or more items) selected using the supplied generator.
sourceraw docstring

whitespaceclj

source

whitespace+clj

source

whitespace-eolclj

source

whitespace-eol+clj

source

whitespace-horizclj

source

whitespace-horiz+clj

source

word-alphaclj

source

word-alpha+clj

source

word-alphanumericclj

source

word-alphanumeric+clj

source

words-alphaclj

source

words-alpha+clj

source

words-alphanumericclj

source

words-alphanumeric+clj

source

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

× close