diff options
author | Joris | 2017-04-05 21:26:31 +0200 |
---|---|---|
committer | Joris | 2017-04-05 21:26:35 +0200 |
commit | 28d595fef6d96557c3d318bc63e716dcebba282d (patch) | |
tree | 6ece538d3c6094f72cc7f63f1cef3288adb5ad35 /src/Food.purs | |
parent | 82f5793b57e923be50e53b6845802fdd30ef947b (diff) |
Add glycemic index indicator
Diffstat (limited to 'src/Food.purs')
-rw-r--r-- | src/Food.purs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Food.purs b/src/Food.purs index b1e3d29..19b667c 100644 --- a/src/Food.purs +++ b/src/Food.purs @@ -18,8 +18,12 @@ glycemicLoad aliment = toNumber aliment.glycemicIndex * toNumber aliment.carbohy all :: Array Aliment all = - [ { name: "oignon", glycemicIndex: 15, carbohydrates: 9 } - , { name: "olive", glycemicIndex: 15, carbohydrates: 6 } - , { name: "haricot rouge", glycemicIndex: 35, carbohydrates: 24 } - , { name: "haricot blanc", glycemicIndex: 35, carbohydrates: 13 } + [ { name: "oignons", glycemicIndex: 15, carbohydrates: 9 } + , { name: "olives", glycemicIndex: 15, carbohydrates: 6 } + , { name: "haricots rouges", glycemicIndex: 35, carbohydrates: 24 } + , { name: "haricots blancs", glycemicIndex: 35, carbohydrates: 13 } + , { name: "pommes de terres (cuites avec leur peau)", glycemicIndex: 70, carbohydrates: 37 } + , { name: "lentilles vertes", glycemicIndex: 30, carbohydrates: 30 } + , { name: "lentilles corail", glycemicIndex: 21, carbohydrates: 48 } + , { name: "riz basmatti", glycemicIndex: 58, carbohydrates: 25 } ] |