| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Types.Common
Contents
Synopsis
- newtype CellRef = CellRef {}
- data RowCoord
- data ColumnCoord
- type CellCoord = (RowCoord, ColumnCoord)
- type RangeCoord = (CellCoord, CellCoord)
- mapBoth :: (a -> b) -> (a, a) -> (b, b)
- col2coord :: Text -> ColumnCoord
- coord2col :: ColumnCoord -> Text
- row2coord :: Text -> RowCoord
- coord2row :: RowCoord -> Text
- singleCellRef :: (RowIndex, ColumnIndex) -> CellRef
- singleCellRef' :: CellCoord -> CellRef
- fromSingleCellRef :: CellRef -> Maybe (RowIndex, ColumnIndex)
- fromSingleCellRef' :: CellRef -> Maybe CellCoord
- fromSingleCellRefNoting :: CellRef -> (RowIndex, ColumnIndex)
- escapeRefSheetName :: Text -> Text
- unEscapeRefSheetName :: Text -> Text
- mkForeignSingleCellRef :: Text -> CellCoord -> CellRef
- fromForeignSingleCellRef :: CellRef -> Maybe (Text, CellCoord)
- type Range = CellRef
- mkRange :: (RowIndex, ColumnIndex) -> (RowIndex, ColumnIndex) -> Range
- mkRange' :: (RowCoord, ColumnCoord) -> (RowCoord, ColumnCoord) -> Range
- mkForeignRange :: Text -> CellCoord -> CellCoord -> Range
- fromRange :: Range -> Maybe ((RowIndex, ColumnIndex), (RowIndex, ColumnIndex))
- fromRange' :: Range -> Maybe RangeCoord
- fromForeignRange :: Range -> Maybe (Text, RangeCoord)
- newtype SqRef = SqRef [CellRef]
- data XlsxText
- xlsxTextToCellValue :: XlsxText -> CellValue
- newtype Formula = Formula {}
- data CellValue
- data ErrorType
- data DateBase
- dateFromNumber :: RealFrac t => DateBase -> t -> UTCTime
- dateToNumber :: Fractional a => DateBase -> UTCTime -> a
- int2col :: ColumnIndex -> Text
- col2int :: Text -> ColumnIndex
- columnIndexToText :: ColumnIndex -> Text
- textToColumnIndex :: Text -> ColumnIndex
- _XlsxText :: Prism' XlsxText Text
- _XlsxRichText :: Prism' XlsxText [RichTextRun]
- _CellText :: Prism' CellValue Text
- _CellDouble :: Prism' CellValue Double
- _CellBool :: Prism' CellValue Bool
- _CellRich :: Prism' CellValue [RichTextRun]
- _CellError :: Prism' CellValue ErrorType
- newtype RowIndex = RowIndex {
- unRowIndex :: Int
- newtype ColumnIndex = ColumnIndex {
- unColumnIndex :: Int
Documentation
Excel cell or cell range reference (e.g. E3), possibly absolute.
See 18.18.62 ST_Ref (p. 2482)
Note: The ST_Ref type can point to another sheet (supported)
or a sheet in another workbook (separate .xlsx file, not implemented).
Instances
| NFData CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show CellRef Source # | |||||
| Eq CellRef Source # | |||||
| Ord CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| FromAttrVal CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods | |||||
| FromAttrBs CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text CellRef Source # | |||||
| ToAttrVal CellRef Source # | |||||
| type Rep CellRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
A helper type for coordinates to carry the intent of them being relative or absolute (preceded by $):
singleCellRefRaw' (RowRel 5, ColumnAbs 1) == "$A5"
Instances
data ColumnCoord Source #
Constructors
| ColumnAbs !ColumnIndex | |
| ColumnRel !ColumnIndex |
Instances
| NFData ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods rnf :: ColumnCoord -> () Source # | |||||
| Generic ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
Methods from :: ColumnCoord -> Rep ColumnCoord x Source # to :: Rep ColumnCoord x -> ColumnCoord Source # | |||||
| Read ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Show ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Eq ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods (==) :: ColumnCoord -> ColumnCoord -> Bool Source # (/=) :: ColumnCoord -> ColumnCoord -> Bool Source # | |||||
| Ord ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods compare :: ColumnCoord -> ColumnCoord -> Ordering Source # (<) :: ColumnCoord -> ColumnCoord -> Bool Source # (<=) :: ColumnCoord -> ColumnCoord -> Bool Source # (>) :: ColumnCoord -> ColumnCoord -> Bool Source # (>=) :: ColumnCoord -> ColumnCoord -> Bool Source # max :: ColumnCoord -> ColumnCoord -> ColumnCoord Source # min :: ColumnCoord -> ColumnCoord -> ColumnCoord Source # | |||||
| type Rep ColumnCoord Source # | |||||
Defined in Codec.Xlsx.Types.Common type Rep ColumnCoord = D1 ('MetaData "ColumnCoord" "Codec.Xlsx.Types.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ColumnAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ColumnIndex)) :+: C1 ('MetaCons "ColumnRel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ColumnIndex))) | |||||
type CellCoord = (RowCoord, ColumnCoord) Source #
type RangeCoord = (CellCoord, CellCoord) Source #
mapBoth :: (a -> b) -> (a, a) -> (b, b) Source #
Helper function to apply the same transformation to both members of a tuple
mapBoth Abs (1, 2) == (Abs 1, Abs 2s)
col2coord :: Text -> ColumnCoord Source #
coord2col :: ColumnCoord -> Text Source #
singleCellRef :: (RowIndex, ColumnIndex) -> CellRef Source #
Render position in (row, col) format to an Excel reference.
singleCellRef (RowIndex 2, ColumnIndex 4) == CellRef "D2"
singleCellRef' :: CellCoord -> CellRef Source #
Allow specifying whether a coordinate parameter is relative or absolute.
singleCellRef' (Rel 5, Abs 1) == CellRef "$A5"
fromSingleCellRef :: CellRef -> Maybe (RowIndex, ColumnIndex) Source #
Converse function to singleCellRef
Ignores a potential foreign sheet prefix.
fromSingleCellRef' :: CellRef -> Maybe CellCoord Source #
Converse function to 'singleCellRef'' Ignores a potential foreign sheet prefix.
fromSingleCellRefNoting :: CellRef -> (RowIndex, ColumnIndex) Source #
Converse function to singleCellRef expecting valid reference and failig with
a standard error message like "Bad cell reference XXX"
escapeRefSheetName :: Text -> Text Source #
Frame and escape the referenced sheet name in single quotes (apostrophe).
Sheet name in ST_Ref can be single-quoted when it contains non-alphanum class, non-ASCII range characters. Intermediate squote characters are escaped in a doubled fashion: "My ' Sheet" -> 'My '' Sheet'
unEscapeRefSheetName :: Text -> Text Source #
Unframe and unescape the referenced sheet name.
mkForeignSingleCellRef :: Text -> CellCoord -> CellRef Source #
Render a single cell existing in another worksheet.
This function always renders the sheet name single-quoted regardless the presence of spaces.
A sheet name shouldn't contain "[]*:?/" chars and apostrophe "'" should not happen at extremities.
mkForeignRange "MyOtherSheet" (Rel 2, Rel 4) (Abs 6, Abs 8) == "'MyOtherSheet'!D2:$H$6"
fromForeignSingleCellRef :: CellRef -> Maybe (Text, CellCoord) Source #
Converse function to mkForeignSingleCellRef.
The provided CellRef must be a foreign range.
mkRange :: (RowIndex, ColumnIndex) -> (RowIndex, ColumnIndex) -> Range Source #
Render range
mkRange (RowIndex 2, ColumnIndex 4) (RowIndex 6, ColumnIndex 8) == CellRef "D2:H6"
mkRange' :: (RowCoord, ColumnCoord) -> (RowCoord, ColumnCoord) -> Range Source #
Render range with possibly absolute coordinates
mkRange' (Abs 2, Abs 4) (6, 8) == CellRef "$D$2:H6"
mkForeignRange :: Text -> CellCoord -> CellCoord -> Range Source #
Render a cell range existing in another worksheet.
This function always renders the sheet name single-quoted regardless the presence of spaces.
A sheet name shouldn't contain "[]*:?/" chars and apostrophe "'" should not happen at extremities.
mkForeignRange "MyOtherSheet" (Rel 2, Rel 4) (Abs 6, Abs 8) == "'MyOtherSheet'!D2:$H$6"
fromRange :: Range -> Maybe ((RowIndex, ColumnIndex), (RowIndex, ColumnIndex)) Source #
Converse function to mkRange ignoring absolute coordinates.
Ignores a potential foreign sheet prefix.
fromRange' :: Range -> Maybe RangeCoord Source #
Converse function to 'mkRange'' to handle possibly absolute coordinates. Ignores a potential foreign sheet prefix.
fromForeignRange :: Range -> Maybe (Text, RangeCoord) Source #
Converse function to mkForeignRange.
The provided Range must be a foreign range.
A sequence of cell references
See 18.18.76 "ST_Sqref (Reference Sequence)" (p.2488)
Instances
| NFData SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show SqRef Source # | |||||
| Eq SqRef Source # | |||||
| Ord SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| FromAttrVal SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods | |||||
| FromAttrBs SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text SqRef Source # | |||||
| ToAttrVal SqRef Source # | |||||
| type Rep SqRef Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
Common type containing either simple string or rich formatted text.
Used in si, comment and is elements
E.g. si spec says: "If the string is just a simple string with formatting applied
at the cell level, then the String Item (si) should contain a single text
element used to express the string. However, if the string in the cell is
more complex - i.e., has formatting applied at the character level - then the
string item shall consist of multiple rich text runs which collectively are
used to express the string.". So we have either a single Text field, or
else a list of RichTextRuns, each of which is some Text with layout
properties.
TODO: Currently we do not support phoneticPr (Phonetic Properties, 18.4.3,
p. 1723) or rPh (Phonetic Run, 18.4.6, p. 1725).
Section 18.4.8, "si (String Item)" (p. 1725)
See CT_Rst, p. 3903
Constructors
| XlsxText Text | |
| XlsxRichText [RichTextRun] |
Instances
| NFData XlsxText Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic XlsxText Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show XlsxText Source # | |||||
| Eq XlsxText Source # | |||||
| Ord XlsxText Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| FromCursor XlsxText Source # | See | ||||
Defined in Codec.Xlsx.Types.Common Methods fromCursor :: Cursor -> [XlsxText] Source # | |||||
| FromXenoNode XlsxText Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| ToElement XlsxText Source # | See | ||||
| type Rep XlsxText Source # | |||||
Defined in Codec.Xlsx.Types.Common type Rep XlsxText = D1 ('MetaData "XlsxText" "Codec.Xlsx.Types.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "XlsxText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "XlsxRichText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RichTextRun]))) | |||||
A formula
See 18.18.35 "ST_Formula (Formula)" (p. 2457)
Instances
| NFData Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show Formula Source # | |||||
| Eq Formula Source # | |||||
| Ord Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| FromAttrVal Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods | |||||
| FromCursor Formula Source # | See | ||||
Defined in Codec.Xlsx.Types.Common Methods fromCursor :: Cursor -> [Formula] Source # | |||||
| FromAttrBs Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text Formula Source # | |||||
| FromXenoNode Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| ToElement Formula Source # | See | ||||
| type Rep Formula Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
Cell values include text, numbers and booleans, standard includes date format also but actually dates are represented by numbers with a date format assigned to a cell containing it Specification (ECMA-376): - 18.3.1.4 c (Cell) - 18.18.11 ST_CellType (Cell Type)
Constructors
| CellText Text | |
| CellDouble Double | |
| CellBool Bool | |
| CellRich [RichTextRun] | |
| CellError ErrorType |
Instances
| NFData CellValue Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic CellValue Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show CellValue Source # | |||||
| Eq CellValue Source # | |||||
| Ord CellValue Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| type Rep CellValue Source # | |||||
Defined in Codec.Xlsx.Types.Common type Rep CellValue = D1 ('MetaData "CellValue" "Codec.Xlsx.Types.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "CellText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "CellDouble" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :+: (C1 ('MetaCons "CellBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: (C1 ('MetaCons "CellRich" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RichTextRun])) :+: C1 ('MetaCons "CellError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ErrorType))))) | |||||
The evaluation of an expression can result in an error having one of a number of error values.
See Annex L, L.2.16.8 "Error values" (p. 4764)
Constructors
| ErrorDiv0 |
|
| ErrorNA |
|
| ErrorName |
|
| ErrorNull |
|
| ErrorNum |
|
| ErrorRef |
|
| ErrorValue |
|
Instances
| NFData ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Generic ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Show ErrorType Source # | |||||
| Eq ErrorType Source # | |||||
| Ord ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| FromAttrVal ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods | |||||
| FromAttrBs ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text ErrorType Source # | |||||
| ToAttrVal ErrorType Source # | |||||
| type Rep ErrorType Source # | |||||
Defined in Codec.Xlsx.Types.Common type Rep ErrorType = D1 ('MetaData "ErrorType" "Codec.Xlsx.Types.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "ErrorDiv0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ErrorNA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorName" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "ErrorNull" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorNum" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ErrorRef" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorValue" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
Specifies date base used for conversion of serial values to and from datetime values
See Annex L, L.2.16.9.1 "Date Conversion for Serial Values" (p. 4765)
Constructors
| DateBase1900 | 1900 date base system, the lower limit is January 1, -9999 00:00:00, which has serial value -4346018. The upper-limit is December 31, 9999, 23:59:59, which has serial value 2,958,465.9999884. The base date for this date base system is December 30, 1899, which has a serial value of 0. |
| DateBase1904 | 1904 backward compatibility date-base system, the lower limit is January 1, 1904, 00:00:00, which has serial value 0. The upper limit is December 31, 9999, 23:59:59, which has serial value 2,957,003.9999884. The base date for this date base system is January 1, 1904, which has a serial value of 0. |
dateFromNumber :: RealFrac t => DateBase -> t -> UTCTime Source #
Converts serial value into datetime according to the specified
date base. Because Excel treats 1900 as a leap year even though it isn't,
this function converts any numbers that represent some time in 1900-02-29
in Excel to UTCTime 1900-03-01 00:00.
See https://docs.microsoft.com/en-gb/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year for details.
show (dateFromNumber DateBase1900 42929.75) == "2017-07-13 18:00:00 UTC" show (dateFromNumber DateBase1900 60) == "1900-03-01 00:00:00 UTC" show (dateFromNumber DateBase1900 61) == "1900-03-01 00:00:00 UTC"
dateToNumber :: Fractional a => DateBase -> UTCTime -> a Source #
Converts datetime into serial value.
Because Excel treats 1900 as a leap year even though it isn't,
the numbers that represent times in 1900-02-29 in Excel, in the range [60, 61[,
are never generated by this function for DateBase1900. This means that
under those conditions this is not an inverse of dateFromNumber.
See https://docs.microsoft.com/en-gb/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year for details.
int2col :: ColumnIndex -> Text Source #
Deprecated: this function will be removed in an upcoming release, use columnIndexToText instead.
col2int :: Text -> ColumnIndex Source #
Deprecated: this function will be removed in an upcoming release, use textToColumnIndex instead.
columnIndexToText :: ColumnIndex -> Text Source #
convert column number (starting from 1) to its textual form (e.g. 3 -> "C")
textToColumnIndex :: Text -> ColumnIndex Source #
reverse of columnIndexToText
prisms
Constructors
| RowIndex | |
Fields
| |
Instances
| NFData RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Enum RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods succ :: RowIndex -> RowIndex Source # pred :: RowIndex -> RowIndex Source # toEnum :: Int -> RowIndex Source # fromEnum :: RowIndex -> Int Source # enumFrom :: RowIndex -> [RowIndex] Source # enumFromThen :: RowIndex -> RowIndex -> [RowIndex] Source # enumFromTo :: RowIndex -> RowIndex -> [RowIndex] Source # enumFromThenTo :: RowIndex -> RowIndex -> RowIndex -> [RowIndex] Source # | |||||
| Generic RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
| |||||
| Num RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods (+) :: RowIndex -> RowIndex -> RowIndex Source # (-) :: RowIndex -> RowIndex -> RowIndex Source # (*) :: RowIndex -> RowIndex -> RowIndex Source # negate :: RowIndex -> RowIndex Source # abs :: RowIndex -> RowIndex Source # signum :: RowIndex -> RowIndex Source # fromInteger :: Integer -> RowIndex Source # | |||||
| Read RowIndex Source # | |||||
| Integral RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods quot :: RowIndex -> RowIndex -> RowIndex Source # rem :: RowIndex -> RowIndex -> RowIndex Source # div :: RowIndex -> RowIndex -> RowIndex Source # mod :: RowIndex -> RowIndex -> RowIndex Source # quotRem :: RowIndex -> RowIndex -> (RowIndex, RowIndex) Source # divMod :: RowIndex -> RowIndex -> (RowIndex, RowIndex) Source # | |||||
| Real RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods toRational :: RowIndex -> Rational Source # | |||||
| Show RowIndex Source # | |||||
| Eq RowIndex Source # | |||||
| Ord RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| ToAttrVal RowIndex Source # | |||||
| type Rep RowIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
newtype ColumnIndex Source #
Constructors
| ColumnIndex | |
Fields
| |
Instances
| NFData ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods rnf :: ColumnIndex -> () Source # | |||||
| Enum ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods succ :: ColumnIndex -> ColumnIndex Source # pred :: ColumnIndex -> ColumnIndex Source # toEnum :: Int -> ColumnIndex Source # fromEnum :: ColumnIndex -> Int Source # enumFrom :: ColumnIndex -> [ColumnIndex] Source # enumFromThen :: ColumnIndex -> ColumnIndex -> [ColumnIndex] Source # enumFromTo :: ColumnIndex -> ColumnIndex -> [ColumnIndex] Source # enumFromThenTo :: ColumnIndex -> ColumnIndex -> ColumnIndex -> [ColumnIndex] Source # | |||||
| Generic ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Associated Types
Methods from :: ColumnIndex -> Rep ColumnIndex x Source # to :: Rep ColumnIndex x -> ColumnIndex Source # | |||||
| Num ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods (+) :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # (-) :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # (*) :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # negate :: ColumnIndex -> ColumnIndex Source # abs :: ColumnIndex -> ColumnIndex Source # signum :: ColumnIndex -> ColumnIndex Source # fromInteger :: Integer -> ColumnIndex Source # | |||||
| Read ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Integral ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods quot :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # rem :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # div :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # mod :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # quotRem :: ColumnIndex -> ColumnIndex -> (ColumnIndex, ColumnIndex) Source # divMod :: ColumnIndex -> ColumnIndex -> (ColumnIndex, ColumnIndex) Source # toInteger :: ColumnIndex -> Integer Source # | |||||
| Real ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods toRational :: ColumnIndex -> Rational Source # | |||||
| Show ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common | |||||
| Eq ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods (==) :: ColumnIndex -> ColumnIndex -> Bool Source # (/=) :: ColumnIndex -> ColumnIndex -> Bool Source # | |||||
| Ord ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common Methods compare :: ColumnIndex -> ColumnIndex -> Ordering Source # (<) :: ColumnIndex -> ColumnIndex -> Bool Source # (<=) :: ColumnIndex -> ColumnIndex -> Bool Source # (>) :: ColumnIndex -> ColumnIndex -> Bool Source # (>=) :: ColumnIndex -> ColumnIndex -> Bool Source # max :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # min :: ColumnIndex -> ColumnIndex -> ColumnIndex Source # | |||||
| type Rep ColumnIndex Source # | |||||
Defined in Codec.Xlsx.Types.Common type Rep ColumnIndex = D1 ('MetaData "ColumnIndex" "Codec.Xlsx.Types.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'True) (C1 ('MetaCons "ColumnIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "unColumnIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||