First test work commit, don't touch
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
contract Counter =
|
||||
|
||||
record state = { value : int }
|
||||
|
||||
function init(val) = { value = val }
|
||||
function get() = state.value
|
||||
function tick() = put(state{ value = state.value + 1 })
|
||||
|
||||
Reference in New Issue
Block a user