| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Chez.Grater.Types
Documentation
newtype IngredientName Source #
Constructors
| IngredientName | |
Fields | |
Instances
newtype RecipeName Source #
Constructors
| RecipeName | |
Fields
| |
Instances
| Eq RecipeName Source # | |
Defined in Chez.Grater.Types | |
| Ord RecipeName Source # | |
Defined in Chez.Grater.Types Methods compare :: RecipeName -> RecipeName -> Ordering # (<) :: RecipeName -> RecipeName -> Bool # (<=) :: RecipeName -> RecipeName -> Bool # (>) :: RecipeName -> RecipeName -> Bool # (>=) :: RecipeName -> RecipeName -> Bool # max :: RecipeName -> RecipeName -> RecipeName # min :: RecipeName -> RecipeName -> RecipeName # | |
| Show RecipeName Source # | |
Defined in Chez.Grater.Types Methods showsPrec :: Int -> RecipeName -> ShowS # show :: RecipeName -> String # showList :: [RecipeName] -> ShowS # | |
| ToJSON RecipeName Source # | |
Defined in Chez.Grater.Types Methods toJSON :: RecipeName -> Value # toEncoding :: RecipeName -> Encoding # toJSONList :: [RecipeName] -> Value # toEncodingList :: [RecipeName] -> Encoding # | |
| FromJSON RecipeName Source # | |
Defined in Chez.Grater.Types | |
Constructors
| Quantity Double | |
| QuantityMissing |
Constructors
| Unit (CI Text) | |
| UnitMissing |
data Ingredient Source #
Constructors
| Ingredient | |
Fields | |
Instances
| Eq Ingredient Source # | |
Defined in Chez.Grater.Types | |
| Ord Ingredient Source # | |
Defined in Chez.Grater.Types Methods compare :: Ingredient -> Ingredient -> Ordering # (<) :: Ingredient -> Ingredient -> Bool # (<=) :: Ingredient -> Ingredient -> Bool # (>) :: Ingredient -> Ingredient -> Bool # (>=) :: Ingredient -> Ingredient -> Bool # max :: Ingredient -> Ingredient -> Ingredient # min :: Ingredient -> Ingredient -> Ingredient # | |
| Show Ingredient Source # | |
Defined in Chez.Grater.Types Methods showsPrec :: Int -> Ingredient -> ShowS # show :: Ingredient -> String # showList :: [Ingredient] -> ShowS # | |
quantityToValue :: Quantity -> Double Source #
tablespoon :: Unit Source #
milliliter :: Unit Source #