We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original bug ID: 270 Reporter: administrator Status: closed Resolution: won't fix Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Full_Name: olivier andrieu Version: 3.00 OS: GNU Submission from: akasha.ijm.jussieu.fr (134.157.173.57)
I find the folowing function useful in some occasions :
Buffer.drop_char : Buffer.t -> unit Buffer.drop_n_char : Buffer.t -> int -> unit
let drop_char b = if b.position = 0 then failwith "empty buffer" ; b.position <- pred b.position
The text was updated successfully, but these errors were encountered:
Comment author: administrator
It is not clear how useful this would be.
Sorry, something went wrong.
Buffer.unsafe_internal_buffer
No branches or pull requests
Original bug ID: 270
Reporter: administrator
Status: closed
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: olivier andrieu
Version: 3.00
OS: GNU
Submission from: akasha.ijm.jussieu.fr (134.157.173.57)
I find the folowing function useful in some occasions :
Buffer.drop_char : Buffer.t -> unit
Buffer.drop_n_char : Buffer.t -> int -> unit
let drop_char b =
if b.position = 0 then failwith "empty buffer" ;
b.position <- pred b.position
The text was updated successfully, but these errors were encountered: