aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/experiment
diff options
context:
space:
mode:
authorEduardo Julian2022-12-02 19:33:00 -0400
committerEduardo Julian2022-12-02 19:33:00 -0400
commit94e5802f594a73245fce0fbd885103b8bf210d57 (patch)
tree65e5799c0be40f5f015b39bfa6c87c9c27fd9424 /stdlib/source/experiment
parentb491dfff00219d5206075ea65468e00ab657075d (diff)
Added some simple time-series handling machinery.
Diffstat (limited to 'stdlib/source/experiment')
-rw-r--r--stdlib/source/experiment/tool/interpreter.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/experiment/tool/interpreter.lux b/stdlib/source/experiment/tool/interpreter.lux
index 3a001396a..09a9e72cd 100644
--- a/stdlib/source/experiment/tool/interpreter.lux
+++ b/stdlib/source/experiment/tool/interpreter.lux
@@ -80,9 +80,9 @@
.#info .#mode]
{.#Interpreter}
state))
- [state _] (at (the platform.#file_system platform)
+ [state _] (of (the platform.#file_system platform)
lift (phase.result' state enter_module))
- _ (at Console<!> write ..welcome_message)]
+ _ (of Console<!> write ..welcome_message)]
(in state)))
(with_expansions [<Interpretation> (these (Operation anchor expression declaration [Type Any]))]
@@ -202,16 +202,16 @@
multi_line? false])
(do !
[_ (if multi_line?
- (at Console<!> write " ")
- (at Console<!> write "> "))
- line (at Console<!> read_line)]
+ (of Console<!> write " ")
+ (of Console<!> write "> "))
+ line (of Console<!> read_line)]
(if (and (not multi_line?)
(text#= ..exit_command line))
- (at Console<!> write ..farewell_message)
+ (of Console<!> write ..farewell_message)
(when (read_eval_print (revised #source (add_line line) context))
{try.#Success [context' representation]}
(do !
- [_ (at Console<!> write representation)]
+ [_ (of Console<!> write representation)]
(again context' false))
{try.#Failure error}