tuple13<A, B, C, D, E, F, G, H, I, J, K, L, M> static method
Decoder<(A, B, C, D, E, F, G, H, I, J, K, L, M)>
tuple13<
A, B, C, D, E, F, G, H, I, J, K, L, M>( - Decoder<A> decodeA,
- Decoder<B> decodeB,
- Decoder<C> decodeC,
- Decoder<D> decodeD,
- Decoder<E> decodeE,
- Decoder<F> decodeF,
- Decoder<G> decodeG,
- Decoder<H> decodeH,
- Decoder<I> decodeI,
- Decoder<J> decodeJ,
- Decoder<K> decodeK,
- Decoder<L> decodeL,
- Decoder<M> decodeM,
)
Implementation
static Decoder<(A, B, C, D, E, F, G, H, I, J, K, L, M)>
tuple13<A, B, C, D, E, F, G, H, I, J, K, L, M>(
Decoder<A> decodeA,
Decoder<B> decodeB,
Decoder<C> decodeC,
Decoder<D> decodeD,
Decoder<E> decodeE,
Decoder<F> decodeF,
Decoder<G> decodeG,
Decoder<H> decodeH,
Decoder<I> decodeI,
Decoder<J> decodeJ,
Decoder<K> decodeK,
Decoder<L> decodeL,
Decoder<M> decodeM,
) =>
_DecoderF((bv) => tuple12(decodeA, decodeB, decodeC, decodeD, decodeE,
decodeF, decodeG, decodeH, decodeI, decodeJ, decodeK, decodeL)
.decode(bv)
.flatMap((t) => decodeM.decode(t.remainder).map(
(m) => DecodeResult(t.value.append(m.value), m.remainder))));