- Companion
- object
Value members
Inherited methods
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
- Type Params
- B
the type the alternative decoder returns
- Value Params
- cd
the alternative decoder
- Returns
a decoder combining both decoders
- Inherited from
- CellDecoder
Map the parsed value, potentially failing.
Map the parsed value, potentially failing.
- Type Params
- T2
the result type
- Value Params
- f
the mapping function
- Returns
a cell decoder reading the mapped type
- Inherited from
- CellDecoder
Map the parsed value to a new decoder, which in turn will be applied to the parsed value.
Map the parsed value to a new decoder, which in turn will be applied to the parsed value.
- Type Params
- T2
the result type
- Value Params
- f
the mapping function
- Returns
a cell decoder reading the mapped type
- Inherited from
- CellDecoder
Map the parsed value.
Map the parsed value.
- Type Params
- T2
the result type
- Value Params
- f
the mapping function
- Returns
a cell decoder reading the mapped type
- Inherited from
- CellDecoder