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


char-alphanumericclj


char-eolclj

A single EOL char

A single EOL char
raw docstring

char-whitespaceclj


char-whitespace-eolclj


char-whitespace-horizclj


chars-eol+clj

One or more EOL chars.

One or more EOL chars.
raw 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` 
raw docstring

identifierclj


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.
raw 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` 
raw docstring

txt-joinclj

(txt-join xgen)

Wraps the supplied generator using clojure.string/join.

Wraps the supplied generator using clojure.string/join.
raw 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 %).
raw 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.
raw docstring

whitespaceclj


whitespace+clj


whitespace-eolclj


whitespace-eol+clj


whitespace-horizclj


whitespace-horiz+clj


word-alphaclj


word-alpha+clj


word-alphanumericclj


word-alphanumeric+clj


words-alphaclj


words-alpha+clj


words-alphanumericclj


words-alphanumeric+clj

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

× close