aboutsummaryrefslogtreecommitdiff
path: root/src/Config.elm
diff options
context:
space:
mode:
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 =