aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/type
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/type.lux4
-rw-r--r--stdlib/source/lux/type/check.lux6
2 files changed, 6 insertions, 4 deletions
diff --git a/stdlib/source/lux/type.lux b/stdlib/source/lux/type.lux
index be3b54eed..ff614a328 100644
--- a/stdlib/source/lux/type.lux
+++ b/stdlib/source/lux/type.lux
@@ -345,8 +345,8 @@
[cursor macro.cursor
valueT (macro.find-type valueN)
#let [_ (log! ($_ text/compose
- ":log!" " @ " (.cursor-description cursor) "\n"
- (name/encode valueN) " : " (..to-text valueT) "\n"))]]
+ ":log!" " @ " (.cursor-description cursor) text.new-line
+ (name/encode valueN) " : " (..to-text valueT) text.new-line))]]
(wrap (list (' []))))
(#.Right valueC)
diff --git a/stdlib/source/lux/type/check.lux b/stdlib/source/lux/type/check.lux
index ce5ce652a..97ccc0626 100644
--- a/stdlib/source/lux/type/check.lux
+++ b/stdlib/source/lux/type/check.lux
@@ -10,7 +10,7 @@
["." product]
["." error (#+ Error)]
["." number ("nat/." Codec<Text,Nat>)]
- [text ("text/." Monoid<Text> Equivalence<Text>)]
+ ["." text ("text/." Monoid<Text> Equivalence<Text>)]
[collection
["." list]
["." set (#+ Set)]]]]
@@ -460,7 +460,9 @@
_
($_ text/compose
(on-error [])
- "\n\n-----------------------------------------\n\n"
+ text.new-line text.new-line
+ "-----------------------------------------"
+ text.new-line text.new-line
error)))
output