Mavryk_stdlib.Utils
module Infix : sig ... end
cut ?copy size bytes
cut bytes
the in a list of successive chunks of length size
at most.
If copy
is false (default), the blocks of the list can be garbage-collected only when all the blocks are unreachable (because of the 'optimized' implementation of sub
used internally.
do_n_times n f
executes f
n
times. If n
is negative, invalid_arg "do_n_times"
is executed.