From a0ed5fd377daf5754697636504de8e180abf9ec0 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 6 Apr 2022 16:07:22 -0400 Subject: More efficient binary parsing. --- stdlib/source/documentation/lux/data/binary.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/source/documentation') diff --git a/stdlib/source/documentation/lux/data/binary.lux b/stdlib/source/documentation/lux/data/binary.lux index abfdc044d..ecf9bba44 100644 --- a/stdlib/source/documentation/lux/data/binary.lux +++ b/stdlib/source/documentation/lux/data/binary.lux @@ -17,9 +17,9 @@ "A fresh/empty binary BLOB of the specified size." [(empty size)]) -(documentation: /.aggregate +(documentation: /.mix "" - [(aggregate f init binary)]) + [(mix f init binary)]) (documentation: /.bits_8 "Read 1 byte (8 bits) at the given index." @@ -71,7 +71,7 @@ "" [..Binary ..empty - ..aggregate + ..mix ..bits_8 ..bits_16 ..bits_32 -- cgit v1.2.3