diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/source/lux/data/text.lux | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/stdlib/source/lux/data/text.lux b/stdlib/source/lux/data/text.lux index 42b8170b9..df3dad17e 100644 --- a/stdlib/source/lux/data/text.lux +++ b/stdlib/source/lux/data/text.lux @@ -25,18 +25,19 @@ (-> Char Text) (|>> (:coerce Int) "lux int char")) -(template [<code> <name>] - [(def: #export <name> (from-code <code>))] - - [00 null] - [07 alarm] - [08 back-space] - [09 tab] - [10 new-line] - [11 vertical-tab] - [12 form-feed] - [13 carriage-return] - [34 double-quote] +(template [<code> <short> <long>] + [(def: #export <long> (from-code <code>)) + (def: #export <short> <long>)] + + [00 \0 null] + [07 \a alarm] + [08 \b back-space] + [09 \t tab] + [10 \n new-line] + [11 \v vertical-tab] + [12 \f form-feed] + [13 \r carriage-return] + [34 \' double-quote] ) (def: #export (size x) |