From f6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 4 Apr 2017 23:40:54 +0200 Subject: Bootstrap purescript --- src/Aliment.purs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Aliment.purs (limited to 'src/Aliment.purs') diff --git a/src/Aliment.purs b/src/Aliment.purs new file mode 100644 index 0000000..e7c4fc8 --- /dev/null +++ b/src/Aliment.purs @@ -0,0 +1,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 + } -- cgit v1.2.3