elm-community / random-extra / Random.Char

Extra randomized functions on characters.

Basic Generators

char : Basics.Int -> Basics.Int -> Random.Generator Char

Generate a random character within a certain keyCode range

lowerCaseLetter =
    char 65 90

lowerCaseLatin : Random.Generator Char

Generate a random lower-case Latin Letter

upperCaseLatin : Random.Generator Char

Generate a random upper-case Latin Letter

latin : Random.Generator Char

Generate a random Latin Letter

english : Random.Generator Char

Generate a random English Letter (alias for latin)

ascii : Random.Generator Char

Generate a random ASCII Character

unicode : Random.Generator Char

Generate a random Character in the valid unicode range. Note: This can produce garbage values as unicode doesn't use all valid values. To test for specific languages and character sets, use the appropriate one from the list.

Unicode Generators (UTF-8)

basicLatin : Random.Generator Char

UTF-8

latin1Supplement : Random.Generator Char

latinExtendedA : Random.Generator Char

latinExtendedB : Random.Generator Char

ipaExtensions : Random.Generator Char

spacingModifier : Random.Generator Char

combiningDiacriticalMarks : Random.Generator Char

greekAndCoptic : Random.Generator Char

cyrillic : Random.Generator Char

cyrillicSupplement : Random.Generator Char

armenian : Random.Generator Char

hebrew : Random.Generator Char

arabic : Random.Generator Char

syriac : Random.Generator Char

arabicSupplement : Random.Generator Char

thaana : Random.Generator Char

nko : Random.Generator Char

samaritan : Random.Generator Char

mandaic : Random.Generator Char

arabicExtendedA : Random.Generator Char

devanagari : Random.Generator Char

bengali : Random.Generator Char

gurmukhi : Random.Generator Char

gujarati : Random.Generator Char

oriya : Random.Generator Char

tamil : Random.Generator Char

telugu : Random.Generator Char

kannada : Random.Generator Char

malayalam : Random.Generator Char

sinhala : Random.Generator Char

thai : Random.Generator Char

lao : Random.Generator Char

tibetan : Random.Generator Char

myanmar : Random.Generator Char

georgian : Random.Generator Char

hangulJamo : Random.Generator Char

ethiopic : Random.Generator Char

ethiopicSupplement : Random.Generator Char

cherokee : Random.Generator Char

unifiedCanadianAboriginalSyllabic : Random.Generator Char

ogham : Random.Generator Char

runic : Random.Generator Char

tagalog : Random.Generator Char

hanunoo : Random.Generator Char

buhid : Random.Generator Char

tagbanwa : Random.Generator Char

khmer : Random.Generator Char

mongolian : Random.Generator Char

unifiedCanadianAboriginalSyllabicExtended : Random.Generator Char

limbu : Random.Generator Char

taiLe : Random.Generator Char

newTaiLue : Random.Generator Char

khmerSymbol : Random.Generator Char

buginese : Random.Generator Char

taiTham : Random.Generator Char

balinese : Random.Generator Char

sundanese : Random.Generator Char

batak : Random.Generator Char

lepcha : Random.Generator Char

olChiki : Random.Generator Char

sundaneseSupplement : Random.Generator Char

vedicExtensions : Random.Generator Char

phoneticExtensions : Random.Generator Char

phoneticExtensionsSupplement : Random.Generator Char

combiningDiacriticalMarksSupplement : Random.Generator Char

latinExtendedAdditional : Random.Generator Char

greekExtended : Random.Generator Char

generalPunctuation : Random.Generator Char

superscriptOrSubscript : Random.Generator Char

currencySymbol : Random.Generator Char

combiningDiacriticalMarksForSymbols : Random.Generator Char

letterlikeSymbol : Random.Generator Char

numberForm : Random.Generator Char

arrow : Random.Generator Char

mathematicalOperator : Random.Generator Char

miscellaneousTechnical : Random.Generator Char

controlPicture : Random.Generator Char

opticalCharacterRecognition : Random.Generator Char

enclosedAlphanumeric : Random.Generator Char

boxDrawing : Random.Generator Char

blockElement : Random.Generator Char

geometricShape : Random.Generator Char

miscellaneousSymbol : Random.Generator Char

dingbat : Random.Generator Char

miscellaneousMathematicalSymbolA : Random.Generator Char

supplementalArrowA : Random.Generator Char

braillePattern : Random.Generator Char

supplementalArrowB : Random.Generator Char

miscellaneousMathematicalSymbolB : Random.Generator Char

supplementalMathematicalOperator : Random.Generator Char

miscellaneousSymbolOrArrow : Random.Generator Char

glagolitic : Random.Generator Char

latinExtendedC : Random.Generator Char

coptic : Random.Generator Char

georgianSupplement : Random.Generator Char

tifinagh : Random.Generator Char

ethiopicExtended : Random.Generator Char

cyrillicExtendedA : Random.Generator Char

supplementalPunctuation : Random.Generator Char

cjkRadicalSupplement : Random.Generator Char

kangxiRadical : Random.Generator Char

ideographicDescription : Random.Generator Char

cjkSymbolOrPunctuation : Random.Generator Char

hiragana : Random.Generator Char

katakana : Random.Generator Char

bopomofo : Random.Generator Char

hangulCompatibilityJamo : Random.Generator Char

kanbun : Random.Generator Char

bopomofoExtended : Random.Generator Char

cjkStroke : Random.Generator Char

katakanaPhoneticExtension : Random.Generator Char

enclosedCJKLetterOrMonth : Random.Generator Char

cjkCompatibility : Random.Generator Char

cjkUnifiedIdeographExtensionA : Random.Generator Char

yijingHexagramSymbol : Random.Generator Char

cjkUnifiedIdeograph : Random.Generator Char

yiSyllable : Random.Generator Char

yiRadical : Random.Generator Char

lisu : Random.Generator Char

vai : Random.Generator Char

cyrillicExtendedB : Random.Generator Char

bamum : Random.Generator Char

modifierToneLetter : Random.Generator Char

latinExtendedD : Random.Generator Char

sylotiNagri : Random.Generator Char

commonIndicNumberForm : Random.Generator Char

phagsPa : Random.Generator Char

saurashtra : Random.Generator Char

devanagariExtended : Random.Generator Char

kayahLi : Random.Generator Char

rejang : Random.Generator Char

hangulJamoExtendedA : Random.Generator Char

javanese : Random.Generator Char

cham : Random.Generator Char

myanmarExtendedA : Random.Generator Char

taiViet : Random.Generator Char

meeteiMayekExtension : Random.Generator Char

ethiopicExtendedA : Random.Generator Char

meeteiMayek : Random.Generator Char

hangulSyllable : Random.Generator Char

hangulJamoExtendedB : Random.Generator Char

highSurrogate : Random.Generator Char

highPrivateUseSurrogate : Random.Generator Char

lowSurrogate : Random.Generator Char

privateUseArea : Random.Generator Char

cjkCompatibilityIdeograph : Random.Generator Char

alphabeticPresentationForm : Random.Generator Char

arabicPresentationFormA : Random.Generator Char

variationSelector : Random.Generator Char

verticalForm : Random.Generator Char

combiningHalfMark : Random.Generator Char

cjkCompatibilityForm : Random.Generator Char

smallFormVariant : Random.Generator Char

arabicPresentationFormB : Random.Generator Char

halfwidthOrFullwidthForm : Random.Generator Char

special : Random.Generator Char

linearBSyllable : Random.Generator Char

linearBIdeogram : Random.Generator Char

aegeanNumber : Random.Generator Char

ancientGreekNumber : Random.Generator Char

ancientSymbol : Random.Generator Char

phaistosDisc : Random.Generator Char

lycian : Random.Generator Char

carian : Random.Generator Char

oldItalic : Random.Generator Char

gothic : Random.Generator Char

ugaritic : Random.Generator Char

oldPersian : Random.Generator Char

deseret : Random.Generator Char

shavian : Random.Generator Char

osmanya : Random.Generator Char

cypriotSyllable : Random.Generator Char

imperialAramaic : Random.Generator Char

phoenician : Random.Generator Char

lydian : Random.Generator Char

meroiticHieroglyph : Random.Generator Char

meroiticCursive : Random.Generator Char

kharoshthi : Random.Generator Char

oldSouthArabian : Random.Generator Char

avestan : Random.Generator Char

inscriptionalParthian : Random.Generator Char

inscriptionalPahlavi : Random.Generator Char

oldTurkic : Random.Generator Char

rumiNumericalSymbol : Random.Generator Char

brahmi : Random.Generator Char

kaithi : Random.Generator Char

soraSompeng : Random.Generator Char

chakma : Random.Generator Char

sharada : Random.Generator Char

takri : Random.Generator Char

cuneiform : Random.Generator Char

cuneiformNumberOrPunctuation : Random.Generator Char

egyptianHieroglyph : Random.Generator Char

bamumSupplement : Random.Generator Char

miao : Random.Generator Char

kanaSupplement : Random.Generator Char

byzantineMusicalSymbol : Random.Generator Char

musicalSymbol : Random.Generator Char

ancientGreekMusicalNotationSymbol : Random.Generator Char

taiXuanJingSymbol : Random.Generator Char

countingRodNumeral : Random.Generator Char

mathematicalAlphanumericSymbol : Random.Generator Char

arabicMathematicalAlphabeticSymbol : Random.Generator Char

mahjongTile : Random.Generator Char

dominoTile : Random.Generator Char

playingCard : Random.Generator Char

enclosedAlphanumericSupplement : Random.Generator Char

enclosedIdeographicSupplement : Random.Generator Char

miscellaneousSymbolOrPictograph : Random.Generator Char

emoticon : Random.Generator Char

transportOrMapSymbol : Random.Generator Char

alchemicalSymbol : Random.Generator Char

cjkUnifiedIdeographExtensionB : Random.Generator Char

cjkUnifiedIdeographExtensionC : Random.Generator Char

cjkUnifiedIdeographExtensionD : Random.Generator Char

cjkCompatibilityIdeographSupplement : Random.Generator Char

tag : Random.Generator Char

variationSelectorSupplement : Random.Generator Char

supplementaryPrivateUseAreaA : Random.Generator Char

supplementaryPrivateUseAreaB : Random.Generator Char