Nutri is a very basic library to calculate a little with macro nutrient's.
There are some food's included in
VariousFoods.hs and more can be
defined there. A Food is basically a function that takes an amount
value and calculates from that the caloric value.
The amount of food is given by the Weight type. Until now, there are
Gramm values, but more can be added to that type.
Macros type is a triple type, that contains the macro
nutrients. Those are Protein, Carbohydrates and Fats.