aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luxc/src/lux/repl.clj3
-rw-r--r--stdlib/source/lux.lux2
2 files changed, 3 insertions, 2 deletions
diff --git a/luxc/src/lux/repl.clj b/luxc/src/lux/repl.clj
index 974267486..9cf2c5982 100644
--- a/luxc/src/lux/repl.clj
+++ b/luxc/src/lux/repl.clj
@@ -73,7 +73,8 @@
state*)
(&/$Right state** outputs)
(do (doseq [[_type _value] outputs]
- (.println System/out (str "=> " (pr-str _value) "\n:: " (&type/show-type _type)"\n")))
+ (.println System/out (str ": " (&type/show-type _type) "\n"
+ "=> " (pr-str _value) "\n")))
(recur state** (inc repl-line) false))
(&/$Left ^String ?message)
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux
index caf38c7b6..7a49fb2ec 100644
--- a/stdlib/source/lux.lux
+++ b/stdlib/source/lux.lux
@@ -3281,7 +3281,7 @@
(#;Right [state (list code)]))
_
- (#;Left "Wrong syntax for ?")))
+ (#;Left "Wrong syntax for default")))
(def: (split-text splitter input)
(-> Text Text (List Text))