| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Chez.Grater.Types
Documentation
newtype IngredientName Source #
Constructors
| IngredientName | |
Fields | |
Instances
newtype RecipeName Source #
Constructors
| RecipeName | |
Fields
| |
Instances
Constructors
| Fraction | |
Fields | |
Constructors
| Quantity | |
Fields | |
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 # | |
| ToJSON Ingredient Source # | |
Defined in Chez.Grater.Types Methods toJSON :: Ingredient -> Value # toEncoding :: Ingredient -> Encoding # toJSONList :: [Ingredient] -> Value # toEncodingList :: [Ingredient] -> Encoding # | |
| FromJSON Ingredient Source # | |
Defined in Chez.Grater.Types | |
tablespoon :: Unit Source #
milliliter :: Unit Source #
mkQuantity :: Double -> Quantity Source #