-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Hello, and thanks for bitv.
I'm wondering whether supporting in place bitwise operations would be a good fit for this library.
To give an example with and, I'm thinking something like creating a new alterative to add to the currently supported functional operator:
val bw_and : t -> t -> tand add support for a new function:
val bw_inplace_and : mutates:t -> t -> unitSimilarly to the existing bw_and, this inplace operation would only be valid for operands of the same lengths.
I would think this pattern would apply to the other bitwise operations in the library (or, xor, not).
Please let me know if interest by a contribution along these lines. Thank you!
Metadata
Metadata
Assignees
Labels
No labels