From cb9e66d70b86909dc811182479253a78cfbead07 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 24 Nov 2014 21:09:07 -0800 Subject: 314 - better syntax for functions --- edit.arc.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'edit.arc.t') diff --git a/edit.arc.t b/edit.arc.t index 279e7188..d73255fc 100644 --- a/edit.arc.t +++ b/edit.arc.t @@ -2,11 +2,11 @@ (reset) (new-trace "new-screen") -(add-fns:readfile "edit.mu") -(add-fns - '((test-new-screen +(add-code:readfile "edit.mu") +(add-code + '((def test-new-screen [ ((2001 screen-address) <- new-screen (5 literal) (5 literal)) - ))) + ]))) ;? (each stmt function*!new-screen ;? (prn stmt)) (let before Memory-in-use-until -- cgit 1.4.1-2-gfad0 4058add3c2002b90f171a1ace40bf21118103e'>this commit Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/apps/ex3.mu
blob: efe6a3170c88853b9ff34f035cd44f0f3f09651a (plain) (tree)
1
2
3
4
5
6
7
8
9