brittany/data/Test288.hs

3 lines
114 B
Haskell

isValidPosition position | validX && validY = Just position
| otherwise = Nothing