Skip to content

Conversation

@sim642
Copy link
Member

@sim642 sim642 commented Nov 21, 2025

Part of issue #1477.

I found out that I didn't need to roll all the Fun.protect stuff in #1875 myself. It exists in the OCaml Stdlib since 4.14.

I then also looked through other file opens and ported them to this safer pattern. Some places were even missing close.
Moreover, this should also be more efficient because BatMarshal.output and BatMarshal.input convert everything via string.

TODO

  • Marshal usages.

@sim642 sim642 added this to the v2.7.0 Bamboozled Buffalo milestone Nov 21, 2025
@sim642 sim642 added the cleanup Refactoring, clean-up label Nov 21, 2025
…arshal (issue #1477)

This should also be more efficient because BatMarshal.output and BatMarshal.input convert everything via string.
@sim642 sim642 added performance Analysis time, memory usage type-safety Type-safety improvements labels Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Refactoring, clean-up performance Analysis time, memory usage type-safety Type-safety improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants