haskellscrabble-2.0.0: A scrabble library capturing the core game logic of scrabble.

Safe HaskellSafe
LanguageHaskell98

Wordify.Rules.Pos

Synopsis

Documentation

data Direction Source

Constructors

Horizontal 
Vertical 

Instances

above :: Pos -> Maybe Pos Source

The position above the given position, if it exists.

below :: Pos -> Maybe Pos Source

The position below the given position, if it exists.

left :: Pos -> Maybe Pos Source

The position to the left of the given position, if it exists.

right :: Pos -> Maybe Pos Source

The position to the right of the given position, if it exists.

starPos :: Pos Source

The position of the star square