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

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

             ($.documentation /.Buffer
               "Immutable text buffer for efficient text concatenation.")]
            []))