diff options
author | Camil Staps | 2015-07-06 21:06:51 +0200 |
---|---|---|
committer | Camil Staps | 2015-07-06 21:06:51 +0200 |
commit | 4a31652c90eb68344b189d3885b110511d8db73b (patch) | |
tree | e0c3d33ca11ca7e8551f81b05004bd3039cb2820 /test_state/test_state_test.icl | |
parent | gtk test (diff) |
Test state
Diffstat (limited to 'test_state/test_state_test.icl')
-rw-r--r-- | test_state/test_state_test.icl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test_state/test_state_test.icl b/test_state/test_state_test.icl new file mode 100644 index 0000000..680370e --- /dev/null +++ b/test_state/test_state_test.icl @@ -0,0 +1,10 @@ +module test_state_test + +import StdEnv, test_state + +Start :: *World -> Int +Start world +# state = 10 +# (i, state) = store 5 10 15 state +# (i, state) = store 10 20 30 state += i |