fluent
Safe HaskellNone
LanguageHaskell2010

Language.Fluent.Plural

Description

Synopsis

Documentation

data Category Source #

A plural category of a number.

Constructors

Zero 
One 
Two 
Few 
Many 
Other 

data Form Source #

The kind of plural category of a number.

Constructors

Cardinal 
Ordinal 

Instances

Instances details
Bounded Form Source # 
Instance details

Defined in Language.Fluent.Plural

Enum Form Source # 
Instance details

Defined in Language.Fluent.Plural

Methods

succ :: Form -> Form #

pred :: Form -> Form #

toEnum :: Int -> Form #

fromEnum :: Form -> Int #

enumFrom :: Form -> [Form] #

enumFromThen :: Form -> Form -> [Form] #

enumFromTo :: Form -> Form -> [Form] #

enumFromThenTo :: Form -> Form -> Form -> [Form] #

Read Form Source # 
Instance details

Defined in Language.Fluent.Plural

Show Form Source # 
Instance details

Defined in Language.Fluent.Plural

Methods

showsPrec :: Int -> Form -> ShowS #

show :: Form -> String #

showList :: [Form] -> ShowS #

Eq Form Source # 
Instance details

Defined in Language.Fluent.Plural

Methods

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

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