lipsum-gen-0.1.0.1: Generators for random sequences of English-like nonsense text.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Lipsum.Gen

Synopsis

Documentation

text :: Gen String Source

Generates a text of random length.

sizedText :: Int -> Gen String Source

Generates a text consisting of a number of paragraphs separated by two newlines.

paragraph :: Gen String Source

Generates a paragraph of random length.

sizedParagraph :: Int -> Gen String Source

Generates a paragraph, consisting of a number of sentences (controlled by the size parameter), separated by spaces.

sentence :: Gen String Source

Generates a sentence of random length.

sizedSentence :: Int -> Gen String Source

Generates a sentence with length based on the size parameter, with puncuation (;,.?!).

word :: Gen String Source

Generates a word.