cryptol/examples/split.cry
2017-07-06 16:51:25 -07:00

11 lines
109 B
Plaintext

x = [1,2,3,4] : [_][8]
y = (split x) : [2][2][8]
a = (y@0) @ 0
b = (y@0) @ 1
c = (y@1) @ 0
d = (y@1) @ 1