aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/text/buffer.lux
blob: 6fa90504b7e322b280a79ebda0ce8b4cba12947d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(.using
 [library
  [lux (.except)
   ["$" documentation (.only documentation:)]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]
   [macro
    ["[0]" template]]]]
 [\\library
  ["[0]" /]])

(documentation: /.Buffer
  "Immutable text buffer for efficient text concatenation.")

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..Buffer
             ($.default /.empty)
             ($.default /.then)
             ($.default /.size)
             ($.default /.text)]
            []))