duckling-0.1.1.0: A Haskell library for parsing text into structured data.

Safe HaskellNone
LanguageHaskell2010

Duckling.Lang

Documentation

data Lang Source #

Constructors

AR 
CS 
DA 
DE 
EN 
ES 
ET 
FR 
GA 
HE 
HR 
ID 
IT 
JA 
KO 
MY 
NB 
NL 
PL 
PT 
RO 
RU 
SV 
TR 
UK 
VI 
ZH 

Instances

Bounded Lang Source # 
Enum Lang Source # 

Methods

succ :: Lang -> Lang #

pred :: Lang -> Lang #

toEnum :: Int -> Lang #

fromEnum :: Lang -> Int #

enumFrom :: Lang -> [Lang] #

enumFromThen :: Lang -> Lang -> [Lang] #

enumFromTo :: Lang -> Lang -> [Lang] #

enumFromThenTo :: Lang -> Lang -> Lang -> [Lang] #

Eq Lang Source # 

Methods

(==) :: Lang -> Lang -> Bool #

(/=) :: Lang -> Lang -> Bool #

Ord Lang Source # 

Methods

compare :: Lang -> Lang -> Ordering #

(<) :: Lang -> Lang -> Bool #

(<=) :: Lang -> Lang -> Bool #

(>) :: Lang -> Lang -> Bool #

(>=) :: Lang -> Lang -> Bool #

max :: Lang -> Lang -> Lang #

min :: Lang -> Lang -> Lang #

Read Lang Source # 
Show Lang Source # 

Methods

showsPrec :: Int -> Lang -> ShowS #

show :: Lang -> String #

showList :: [Lang] -> ShowS #

Generic Lang Source # 

Associated Types

type Rep Lang :: * -> * #

Methods

from :: Lang -> Rep Lang x #

to :: Rep Lang x -> Lang #

Hashable Lang Source # 

Methods

hashWithSalt :: Int -> Lang -> Int #

hash :: Lang -> Int #

TextShow Lang Source # 
type Rep Lang Source # 
type Rep Lang = D1 (MetaData "Lang" "Duckling.Lang" "duckling-0.1.1.0-C08zKxaAjdQ7nnZQDuNARP" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "AR" PrefixI False) U1) ((:+:) (C1 (MetaCons "CS" PrefixI False) U1) (C1 (MetaCons "DA" PrefixI False) U1))) ((:+:) (C1 (MetaCons "DE" PrefixI False) U1) ((:+:) (C1 (MetaCons "EN" PrefixI False) U1) (C1 (MetaCons "ES" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "ET" PrefixI False) U1) ((:+:) (C1 (MetaCons "FR" PrefixI False) U1) (C1 (MetaCons "GA" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "HE" PrefixI False) U1) (C1 (MetaCons "HR" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ID" PrefixI False) U1) (C1 (MetaCons "IT" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "JA" PrefixI False) U1) ((:+:) (C1 (MetaCons "KO" PrefixI False) U1) (C1 (MetaCons "MY" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "NB" PrefixI False) U1) (C1 (MetaCons "NL" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PL" PrefixI False) U1) (C1 (MetaCons "PT" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "RO" PrefixI False) U1) ((:+:) (C1 (MetaCons "RU" PrefixI False) U1) (C1 (MetaCons "SV" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "TR" PrefixI False) U1) (C1 (MetaCons "UK" PrefixI False) U1)) ((:+:) (C1 (MetaCons "VI" PrefixI False) U1) (C1 (MetaCons "ZH" PrefixI False) U1))))))