valid-names-0.1.0.0: Valid operator/module characters

Safe HaskellNone

Language.Valid.Random

Description

Generate random Haskell syntax entities. This package was used by lens in versions not released to Hackage.

Synopsis

Documentation

randomSymbol :: RandomGen g => g -> (String, g)Source

Produce a random symbol of length 1-8.

randomSymbolIO :: IO StringSource

Produce a random symbol of length 1-8 in IO.

randomModule :: RandomGen g => g -> (String, g)Source

Produce a random module name of length 1-16.

randomModuleIO :: IO StringSource

Produce a random module name of length 1-16 in IO.