HsKu
Contents
data Language Source #
Constructors
Fields
Defined in HsKu.Load
Methods
parseJSON :: Value -> Parser Language #
parseJSONList :: Value -> Parser [Language] #
omittedField :: Maybe Language #
Defined in HsKu
showsPrec :: Int -> Language -> ShowS #
show :: Language -> String #
showList :: [Language] -> ShowS #
(==) :: Language -> Language -> Bool #
(/=) :: Language -> Language -> Bool #
type Languages = Map Text Language Source #
type Haiku = (Text, Text, Text) Source #
parseHaiku :: Languages -> Text -> Maybe (Language, Haiku) Source #
parseHaikuForLanguage :: Language -> Text -> Maybe Haiku Source #