aboutsummaryrefslogtreecommitdiff
path: root/src/Config.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-04 23:27:59 +0100
committerJoris Guyonvarch2015-03-05 00:27:32 +0100
commit4d007f6802246c6411a2838e68e957c2b4d56d3d (patch)
tree70519a5a2d6825bf2b64f6a8950a003b2ff4f150 /src/Config.elm
parentd37a301ed39bac823e0f2223b8d229b417e128c7 (diff)
downloadcatchvoid-4d007f6802246c6411a2838e68e957c2b4d56d3d.tar.gz
catchvoid-4d007f6802246c6411a2838e68e957c2b4d56d3d.tar.bz2
catchvoid-4d007f6802246c6411a2838e68e957c2b4d56d3d.zip
Adapt the game to elm version 0.14.1
Diffstat (limited to 'src/Config.elm')
-rw-r--r--src/Config.elm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Config.elm b/src/Config.elm
index 60f4cc3..e02cf3f 100644
--- a/src/Config.elm
+++ b/src/Config.elm
@@ -1,6 +1,8 @@
module Config where
-data Config = White | Black
+type Config =
+ White
+ | Black
otherConfig : Config -> Config
otherConfig config =