Safe Haskell | None |
---|
- type Reading = [Either Text Phone]
- showReading :: Reading -> String
- showReadingAccented :: Reading -> String
- data Word = Word {
- traditional :: [Char]
- simplified :: [Char]
- reading :: Reading
- showHeadWord :: Word -> String
- data DefinitionToken
- = PlainToken Text
- | WordToken Word
- data WordDefinition
- data Definition = Definition {
- word :: Word
- definitions :: [WordDefinition]
- entries :: [Definition]
Documentation
showReading :: Reading -> StringSource
showHeadWord :: Word -> StringSource
Show a word as in the head of a dictionary entry
data WordDefinition Source
entries :: [Definition]Source