### ----------------------------------------------------
### -- Chess
### -- Licenses: Artistic-2.0
### -- Authors: Lucien Grondin
### -- File: lib/Chess/Colors.rakumod
### ----------------------------------------------------
unit module Chess::Colors;

enum color is export <black white>;

multi prefix:<¬>(color $color --> color) is export { $color ~~ white ?? black !! white }


