diff options
Diffstat (limited to 'src/Config.elm')
-rw-r--r-- | src/Config.elm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Config.elm b/src/Config.elm new file mode 100644 index 0000000..60f4cc3 --- /dev/null +++ b/src/Config.elm @@ -0,0 +1,9 @@ +module Config where + +data Config = White | Black + +otherConfig : Config -> Config +otherConfig config = + case config of + White -> Black + Black -> White |