-- | Calculate the liberties from a chain of points.
liberties :: Player p  => Board p -> [(Int, Int)] -> [(Int, Int)]
liberties b = map repaCoordsToTuple . B.liberties b . map tupleToRepaCoords
liberties :: Player p  => Board p -> [(Int, Int)] -> [(Int, Int)]
liberties b = map repaCoordsToTuple . B.liberties b . map tupleToRepaCoords
liberties b = map repaCoordsToTuple . B.liberties b . map tupleToRepaCoords