diff options
author | Eduardo Julian | 2021-05-30 11:48:28 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-05-30 11:48:28 -0400 |
commit | 7a2ab85f1c86e7256c5b45672b2fe8f157e35c9a (patch) | |
tree | fa2e9f9e0cf1bc286700b3c5a7ce446f62abe4c5 /stdlib/source/program/aedifex/repository | |
parent | 6154b0d4a09b96c9092309917a0379d491181c79 (diff) |
lux/data/binary.slice now works in the offset+length style.
Diffstat (limited to 'stdlib/source/program/aedifex/repository')
-rw-r--r-- | stdlib/source/program/aedifex/repository/remote.lux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux index fd0d65d6f..eb285bb67 100644 --- a/stdlib/source/program/aedifex/repository/remote.lux +++ b/stdlib/source/program/aedifex/repository/remote.lux @@ -111,7 +111,7 @@ _ (if (n.= ..buffer_size bytes_read) (recur (\ binary.monoid compose output buffer)) (do ! - [chunk (\ io.monad wrap (binary.slice 0 (dec (.nat bytes_read)) buffer))] + [chunk (\ io.monad wrap (binary.slice 0 (.nat bytes_read) buffer))] (recur (\ binary.monoid compose output chunk)))))))] (wrap output))) |