aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/licentia/document.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--licentia/source/program/licentia/document.lux (renamed from stdlib/source/program/licentia/document.lux)10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/program/licentia/document.lux b/licentia/source/program/licentia/document.lux
index b1bc20cce..95c14e231 100644
--- a/stdlib/source/program/licentia/document.lux
+++ b/licentia/source/program/licentia/document.lux
@@ -8,11 +8,11 @@
(def: #export (quote text)
(-> Text Text)
- (format text.double-quote text text.double-quote))
+ (format text.double_quote text text.double_quote))
(def: #export (block content)
(-> Text Text)
- (format content text.new-line text.new-line))
+ (format content text.new_line text.new_line))
(def: #export (plural singular)
(-> Text Text)
@@ -25,12 +25,12 @@
(def: #export paragraph
(-> (List Text) Text)
(|>> (list\map ..sentence)
- (text.join-with text.new-line)))
+ (text.join_with text.new_line)))
(template [<name> <word>]
[(def: #export <name>
(-> (List Text) Text)
- (text.join-with (format ", " <word> " ")))]
+ (text.join_with (format ", " <word> " ")))]
[or "or"]
[and "and"]
@@ -43,5 +43,5 @@
(def: #export (section value)
(-> Section Text)
- (format (block (get@ #title value))
+ (format (..block (get@ #title value))
(get@ #content value)))