aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2017-08-22 20:51:25 -0400
committerEduardo Julian2017-08-22 20:51:25 -0400
commit11ad64c0cf9da63e10bbb9bfe6e81168013b954e (patch)
tree4847599d00aa05caa88e9d22507c43a08bb63404
parente1838963ae67f31c22d611531470117c155c19f5 (diff)
- Small fixes and refactorings.
-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))