aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Config.elm
blob: ea6f9dc07f160dece37ac846fd902748c6c8ebf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Model.Config exposing
  ( Config(..)
  , otherConfig
  )

type Config =
  White
  | Black

otherConfig : Config -> Config
otherConfig config =
  case config of
    White -> Black
    Black -> White