From 118895081d97279a796cc704e6c23bf92ed79e5e Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 30 Mar 2019 21:45:45 -0400 Subject: Re-named "do-template" to "template". --- lux-python/source/program.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 5baf9db04..33742d694 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -200,7 +200,7 @@ (def: (read host-object) Translator - (`` (<| (~~ (do-template [ ] + (`` (<| (~~ (template [ ] [(case (host.check host-object) (#.Some host-object) (#error.Success (<| host-object)) @@ -217,7 +217,7 @@ [org/python/core/PyArray org/python/core/PyArray::getArray] [(Array java/lang/Object) (|>)] )) - (~~ (do-template [ ] + (~~ (template [ ] [(case (host.check host-object) (#.Some host-object) (<| host-object) @@ -289,11 +289,11 @@ (do error.monad [output (org/python/util/PythonInterpreter::eval (_.code input) interpreter)] (..read output)))) - execute! (: (-> Text (_.Statement Any) (Error Nothing)) + execute! (: (-> Text (_.Statement Any) (Error Any)) (function (execute! alias input) (do error.monad [_ (org/python/util/PythonInterpreter::exec (_.code input) interpreter)] - (wrap (:coerce Nothing [])))))] + (wrap []))))] (: Host (structure (def: evaluate! evaluate!) -- cgit v1.2.3