cryptol/tests/issues/issue848.icry.stdout
Rob Dockins 82187952e7 Generalize the type of generate.
This allows the indexing type to be arbitraty `Integral` types,
provided the type is large enough to index the sequence.

Fixes #848
2020-08-22 15:28:13 -07:00

7 lines
238 B
Plaintext

Loading module Cryptol
a : {n, a} (Integral a, n >= 1, Literal (max 10 (n - 1)) a,
fin n) =>
[n]a
[0x0000000a, 0x0000000b, 0x0000000c, 0x0000000d, 0x0000000e,
0x0000000f, 0x00000010, 0x00000011, 0x00000012, 0x00000013]