cryptol/examples/split.cry

11 lines
109 B
Plaintext
Raw Normal View History

2017-07-07 02:51:25 +03:00
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