about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-21 20:46:34 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-21 20:53:38 -0700
commitc54b7e96307082fd3d67280acfcfc107553cda98 (patch)
treed07034a39f18ba0de750297d5c9ca7bcd5c9fd1d /400.mu
parentbfc6fa1876ebeee12f48cf52d9629e1988d5b27e (diff)
downloadmu-c54b7e96307082fd3d67280acfcfc107553cda98.tar.gz
shell: separate 'def' from 'set'
'def' creates new bindings (only in globals)
'set' only modifies existing bindings (either in env or globals)
Diffstat (limited to '400.mu')
-rw-r--r--400.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index e7f4c599..4d71bd11 100644
--- a/400.mu
+++ b/400.mu
@@ -32,6 +32,7 @@ sig debug-print x: (addr array byte), fg: int, bg: int
 sig clear-stream f: (addr stream _)
 sig rewind-stream f: (addr stream _)
 sig stream-data-equal? f: (addr stream byte), s: (addr array byte) -> _/eax: boolean
+sig streams-data-equal? f: (addr stream byte), s: (addr stream byte) -> _/eax: boolean
 sig check-stream-equal f: (addr stream byte), s: (addr array byte), msg: (addr array byte)
 sig next-stream-line-equal? f: (addr stream byte), s: (addr array byte) -> _/eax: boolean
 sig check-next-stream-line-equal f: (addr stream byte), s: (addr array byte), msg: (addr array byte)