aboutsummaryrefslogtreecommitdiff
path: root/src/Aliment.purs
diff options
context:
space:
mode:
authorJoris2017-04-04 23:40:54 +0200
committerJoris2017-04-04 23:42:42 +0200
commitf6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c (patch)
tree184b0ef41ad60dcc9e5cc927604c031e0db81bbf /src/Aliment.purs
parent6228c242fda7b33bc919f2a74509314d1e671d4b (diff)
Bootstrap purescript
Diffstat (limited to 'src/Aliment.purs')
-rw-r--r--src/Aliment.purs13
1 files changed, 13 insertions, 0 deletions
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
+ }