(books)
Returns the list of books.
((juxt first last) (books))
=> ["Gen" "Rev"]
Returns the list of books. ```clojure ((juxt first last) (books)) => ["Gen" "Rev"] ```
(random-verse)
Returns a map entry representing a random verse from a random book.
The key is the name of the book followed by chapter and verse numbers.
For divination purposes at higher accuracy see also secure-random-verse
.
(random-verse)
=> ["John 2:6" ("Now there were six waterpots of stone set there after the Jews' manner of purifying, containing
two or three firkins apiece.")]
Returns a map entry representing a random verse from a random book. The key is the name of the book followed by chapter and verse numbers.\ For divination purposes at higher accuracy see also [[secure-random-verse]]. ```clojure (random-verse) => ["John 2:6" ("Now there were six waterpots of stone set there after the Jews' manner of purifying, containing two or three firkins apiece.")] ```
(random-verse-str)
Returns a random verse as a string.
For divination purposes at higher accuracy see also secure-random-verse-str
.
(random-verse-str)
=> "O Jehovah, to thee do I cry; for the fire hath devoured the pastures of the wilderness, and the flame hath burned
all the trees of the field."
Returns a random verse as a string.\ For divination purposes at higher accuracy see also [[secure-random-verse-str]]. ```clojure (random-verse-str) => "O Jehovah, to thee do I cry; for the fire hath devoured the pastures of the wilderness, and the flame hath burned all the trees of the field." ```
(secure-random-verse)
Returns a map entry representing a random verse from a random book.
The key is the name of the book followed by chapter and verse numbers.
Unlike random-verse
this uses a FIPS 140-2 compliant RNG to determine all collections indices.
(random-verse)
=> ["Deut 9:12"
("And Jehovah said unto me, Arise, get thee down quickly from hence; for thy people that thou
hast brought forth out of Egypt have corrupted themselves; they are quickly turned aside out of the way which I
commanded them; they have made them a molten image.")]
Returns a map entry representing a random verse from a random book. The key is the name of the book followed by chapter and verse numbers.\ Unlike [[random-verse]] this uses a FIPS 140-2 compliant RNG to determine all collections indices. ```clojure (random-verse) => ["Deut 9:12" ("And Jehovah said unto me, Arise, get thee down quickly from hence; for thy people that thou hast brought forth out of Egypt have corrupted themselves; they are quickly turned aside out of the way which I commanded them; they have made them a molten image.")] ```
(secure-random-verse-str)
Returns a random verse as a string.
Unlike random-verse-str
this uses a FIPS 140-2 compliant RNG to determine all collections indices.
(random-verse-str)
=> "And Absalom answered Joab, Behold, I sent unto thee, saying, Come hither, that I may send thee to the king, to
say, Wherefore am I come from Geshur? it were better for me to be there still. Now therefore let me see the king's
face; and if there be iniquity in me, let him kill me."
Returns a random verse as a string.\ Unlike [[random-verse-str]] this uses a FIPS 140-2 compliant RNG to determine all collections indices. ```clojure (random-verse-str) => "And Absalom answered Joab, Behold, I sent unto thee, saying, Come hither, that I may send thee to the king, to say, Wherefore am I come from Geshur? it were better for me to be there still. Now therefore let me see the king's face; and if there be iniquity in me, let him kill me." ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close