diff options
Diffstat (limited to 'examples/atom-concept.milch')
| -rw-r--r-- | examples/atom-concept.milch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/atom-concept.milch b/examples/atom-concept.milch deleted file mode 100644 index 4158b45..0000000 --- a/examples/atom-concept.milch +++ /dev/null @@ -1,11 +0,0 @@ -(let state (atom! 10)) - -(let do-loop! (\![i n] - (match true - (lt? i n) (do (update! dec state) - (do-loop! (inc i) n)) - otherwise unit))) - -(do-loop! 0 5) -(get! state) -; => 5 |
