gridbox-0.3.0.0: A grid box model

Safe HaskellSafe
LanguageHaskell2010

GridBox.Position

Description

Position

Synopsis

Documentation

type BoxPosition = (BoxRow, BoxCol) Source #

Box position

type BoxPositions = [BoxPosition] Source #

Box positions

fromBox :: Box -> BoxPosition Source #

Convert from Box to (row, col)

fromBoxes :: [Box] -> BoxPositions Source #

Convert all boxes in list from Box to (row, col)