From 4a31652c90eb68344b189d3885b110511d8db73b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 6 Jul 2015 21:06:51 +0200 Subject: Test state --- test_state/test_state_test.icl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test_state/test_state_test.icl (limited to 'test_state/test_state_test.icl') 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 -- cgit v1.2.3