diff options
Diffstat (limited to 'stdlib/source/library/lux/data/text/buffer.lux')
-rw-r--r-- | stdlib/source/library/lux/data/text/buffer.lux | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/data/text/buffer.lux b/stdlib/source/library/lux/data/text/buffer.lux index 08f640648..e23a11f63 100644 --- a/stdlib/source/library/lux/data/text/buffer.lux +++ b/stdlib/source/library/lux/data/text/buffer.lux @@ -11,7 +11,7 @@ ["%" format (#+ format)]] [collection ["." array] - ["." row (#+ Row) ("#\." fold)]]] + ["." row (#+ Row) ("#\." mix)]]] [math [number ["n" nat]]] @@ -108,9 +108,9 @@ @.lua <jvm>} ... default (|>> :representation - (row\fold (function (_ chunk total) - (n.+ (//.size chunk) total)) - 0))))) + (row\mix (function (_ chunk total) + (n.+ (//.size chunk) total)) + 0))))) (def: .public (text buffer) (-> Buffer Text) @@ -128,8 +128,8 @@ @.lua (let [[capacity transform] (:representation buffer)] (table/concat [(transform (array.empty 0)) ""]))} ... default - (row\fold (function (_ chunk total) - (format total chunk)) - "" - (:representation buffer))))) + (row\mix (function (_ chunk total) + (format total chunk)) + "" + (:representation buffer))))) )) |