11 lines
147 B
Plaintext
11 lines
147 B
Plaintext
contract C =
|
|
type state = int
|
|
|
|
entrypoint init() = f(4)
|
|
|
|
function
|
|
f(x) | x > 0 = 1
|
|
f(x) | g(x) = 2
|
|
|
|
stateful function g(x) = x < 0
|