about summary refs log tree commit diff stats
path: root/shell/evaluate.mu
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r--shell/evaluate.mu9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu
index 0a9aa5d5..fae2519c 100644
--- a/shell/evaluate.mu
+++ b/shell/evaluate.mu
@@ -85,6 +85,15 @@ fn evaluate _in: (addr handle cell), out: (addr handle cell), env-h: (handle cel
     trace-higher trace
     return
   }
+  compare *in-type, 3/stream
+  {
+    break-if-!=
+    # numbers are literals
+    trace-text trace, "eval", "stream"
+    copy-object _in, out
+    trace-higher trace
+    return
+  }
   compare *in-type, 2/symbol
   {
     break-if-!=