aboutsummaryrefslogtreecommitdiff
path: root/src/Aliment.purs
blob: e7c4fc8a94e56344cb2135c6b34853cbf09e37fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Aliment where

all :: Array Aliment
all =
  [ { name: "Oignon", gi: 15 }
  , { name: "Olive", gi: 15 }
  , { name: "Haricot rouge", gi: 35 }
  ]

type Aliment =
  { name :: String
  , gi :: Int
  }