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