cryptol/tests/parser/applications.cry
2014-04-17 15:34:25 -07:00

14 lines
235 B
Plaintext

g x = x
f x y = y
app1 = g 0xFF
app2 = f 0xFF 0xFF
app3 = 0xFF + 0xFF
app4 = 0x01 + 0x02 + 0x03
app5 = 0x01 + 0x02 * 0x03
app6 = 0x01 * 0x02 + 0x03
app7 = 0x01 * g 0xFF + 0x02
app8 = f (0x01 * g 0xFF + 0x02) 0xFF
app9 = g (g 0xFF)