about summary refs log tree commit diff stats
path: root/edit.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-11-24 21:09:07 -0800
committerKartik K. Agaram <vc@akkartik.com>2014-11-24 21:12:23 -0800
commitcb9e66d70b86909dc811182479253a78cfbead07 (patch)
tree2c11ee9a512640b46512dc4fba697289c85b4efb /edit.mu
parent638ff3b1b84a17f8b92b89b1b305d83dcd66899c (diff)
downloadmu-cb9e66d70b86909dc811182479253a78cfbead07.tar.gz
314 - better syntax for functions
Diffstat (limited to 'edit.mu')
-rw-r--r--edit.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.mu b/edit.mu
index 1a72f032..b390d42a 100644
--- a/edit.mu
+++ b/edit.mu
@@ -1,6 +1,6 @@
 ; a screen is an array of pointers to lines, in turn arrays of characters
 
-(new-screen
+(def new-screen [
   ((default-scope scope-address) <- new (scope literal) (30 literal))
   ((nrows integer) <- arg)
   ((ncols integer) <- arg)
@@ -15,4 +15,4 @@
     (continue-if (x boolean))
   }
   (reply (result screen-address))
-)
+])