Safe Haskell | None |
---|---|

Language | Haskell2010 |

lenses to access sheets, cells and values of `Xlsx`

- ixSheet :: Text -> Traversal' Xlsx Worksheet
- atSheet :: Text -> Lens' Xlsx (Maybe Worksheet)
- ixCell :: (Int, Int) -> Traversal' Worksheet Cell
- ixCellRC :: (Int, Int) -> Traversal' Worksheet Cell
- ixCellXY :: (Int, Int) -> Traversal' Worksheet Cell
- atCell :: (Int, Int) -> Lens' Worksheet (Maybe Cell)
- atCellRC :: (Int, Int) -> Lens' Worksheet (Maybe Cell)
- atCellXY :: (Int, Int) -> Lens' Worksheet (Maybe Cell)
- cellValueAt :: (Int, Int) -> Lens' Worksheet (Maybe CellValue)
- cellValueAtRC :: (Int, Int) -> Lens' Worksheet (Maybe CellValue)
- cellValueAtXY :: (Int, Int) -> Lens' Worksheet (Maybe CellValue)

# Documentation

ixSheet :: Text -> Traversal' Xlsx Worksheet Source #

lens giving access to a worksheet from `Xlsx`

object
by its name

ixCell :: (Int, Int) -> Traversal' Worksheet Cell Source #

lens giving access to a cell in some worksheet
by its position, by default row+column index is used
so this lens is a synonym of `ixCellRC`

ixCellXY :: (Int, Int) -> Traversal' Worksheet Cell Source #

lens to access cell in a worksheet using more traditional x+y coordinates

atCell :: (Int, Int) -> Lens' Worksheet (Maybe Cell) Source #

accessor that can read, write or delete cell in a worksheet
synonym of `atCellRC`

so uses row+column index

atCellRC :: (Int, Int) -> Lens' Worksheet (Maybe Cell) Source #

lens to read, write or delete cell in a worksheet

atCellXY :: (Int, Int) -> Lens' Worksheet (Maybe Cell) Source #

lens to read, write or delete cell in a worksheet using more traditional x+y or row+column index

cellValueAt :: (Int, Int) -> Lens' Worksheet (Maybe CellValue) Source #

lens to read, write or delete cell value in a worksheet
with row+column coordinates, synonym for `cellValueRC`