Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data FocusedGrid cs a = FocusedGrid {
- focusedGrid :: Grid cs a
- focusedGridPosition :: Coord cs
Documentation
data FocusedGrid cs a Source #
Similar to Grid
, but this has a focus on a certain square. Becuase of this we loose some instances, such as Applicative
, but we gain a Comonad
and ComonadStore
instance. We can convert between a focused and unfocused list using facilites in IsGrid
FocusedGrid | |
|