| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Chez.Grater.Parser.Types
Documentation
newtype ParsedIngredientName Source #
Constructors
| ParsedIngredientName | |
Fields | |
Instances
data ParsedQuantity Source #
Constructors
| ParsedQuantity Double | The quantity is a number. |
| ParsedQuantityWord (CI Text) | The quantity is a word. |
| ParsedQuantityMissing | There was no detected quantity. |
Instances
| Eq ParsedQuantity Source # | |
Defined in Chez.Grater.Parser.Types Methods (==) :: ParsedQuantity -> ParsedQuantity -> Bool # (/=) :: ParsedQuantity -> ParsedQuantity -> Bool # | |
| Ord ParsedQuantity Source # | |
Defined in Chez.Grater.Parser.Types Methods compare :: ParsedQuantity -> ParsedQuantity -> Ordering # (<) :: ParsedQuantity -> ParsedQuantity -> Bool # (<=) :: ParsedQuantity -> ParsedQuantity -> Bool # (>) :: ParsedQuantity -> ParsedQuantity -> Bool # (>=) :: ParsedQuantity -> ParsedQuantity -> Bool # max :: ParsedQuantity -> ParsedQuantity -> ParsedQuantity # min :: ParsedQuantity -> ParsedQuantity -> ParsedQuantity # | |
| Show ParsedQuantity Source # | |
Defined in Chez.Grater.Parser.Types Methods showsPrec :: Int -> ParsedQuantity -> ShowS # show :: ParsedQuantity -> String # showList :: [ParsedQuantity] -> ShowS # | |
data ParsedUnit Source #
Constructors
| ParsedUnit (CI Text) | Detected a unit. |
| ParsedUnitMissing | There was no detected unit. |
Instances
| Eq ParsedUnit Source # | |
Defined in Chez.Grater.Parser.Types | |
| Ord ParsedUnit Source # | |
Defined in Chez.Grater.Parser.Types Methods compare :: ParsedUnit -> ParsedUnit -> Ordering # (<) :: ParsedUnit -> ParsedUnit -> Bool # (<=) :: ParsedUnit -> ParsedUnit -> Bool # (>) :: ParsedUnit -> ParsedUnit -> Bool # (>=) :: ParsedUnit -> ParsedUnit -> Bool # max :: ParsedUnit -> ParsedUnit -> ParsedUnit # min :: ParsedUnit -> ParsedUnit -> ParsedUnit # | |
| Show ParsedUnit Source # | |
Defined in Chez.Grater.Parser.Types Methods showsPrec :: Int -> ParsedUnit -> ShowS # show :: ParsedUnit -> String # showList :: [ParsedUnit] -> ShowS # | |
data ParsedIngredient Source #
Constructors
| ParsedIngredient | |
Instances
| Eq ParsedIngredient Source # | |
Defined in Chez.Grater.Parser.Types Methods (==) :: ParsedIngredient -> ParsedIngredient -> Bool # (/=) :: ParsedIngredient -> ParsedIngredient -> Bool # | |
| Ord ParsedIngredient Source # | |
Defined in Chez.Grater.Parser.Types Methods compare :: ParsedIngredient -> ParsedIngredient -> Ordering # (<) :: ParsedIngredient -> ParsedIngredient -> Bool # (<=) :: ParsedIngredient -> ParsedIngredient -> Bool # (>) :: ParsedIngredient -> ParsedIngredient -> Bool # (>=) :: ParsedIngredient -> ParsedIngredient -> Bool # max :: ParsedIngredient -> ParsedIngredient -> ParsedIngredient # min :: ParsedIngredient -> ParsedIngredient -> ParsedIngredient # | |
| Show ParsedIngredient Source # | |
Defined in Chez.Grater.Parser.Types Methods showsPrec :: Int -> ParsedIngredient -> ShowS # show :: ParsedIngredient -> String # showList :: [ParsedIngredient] -> ShowS # | |