-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
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
Rename B64 to Base64, Rfc2045 to Base64_rfc2045 #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm after minor fix
The README also still has a reference to B64 |
Just want to make sure I'm not missing something: back in 2014, #4 renamed I saw https://github.com/lpw25/namespaces via https://discuss.ocaml.org/t/what-to-do-about-files-both-define-module-base64/3426/2, but it sounds like this is an eventual solution, so in the meantime users of cohttp + extlib need to pin this libeary to >1.x but <3.x so thy get a version of this library when it was named B64? |
@timbertson I understand your concerns and it's look like a regression if you consider #4. The initial problem is a misspelling name between B64 (the module) and Base64 (the package) which cames from a trick between ocamlfind (META file) and OPAM (opam file) - where it's not needed to share the same name between the module provided and the package provided. I think, for newcomers to the OCaml community, it's a barrier where the question: where is the Base64 module? becomes a repeating problem (see #17). Currently, we have no solution about that and the problem mostly concerns About So, if you really need |
Yeah, that's fair reasoning. It was mostly just super confusing when I was sure that I had a version new enough to be after fix for this clash, and then found out it was also a version new enough to reintroduce it. I do need both extlib and cohttp (for https://github.com/timbertson/passe, it's not on opam). The frustrating thing is I just got done ripping out batteries (I started this project a while ago when I was new to OCaml, and batteries friction with parts of the stdlib wasn't worth it in retrospect). I ended up keeping extlib just for its |
Copied from: https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.ml https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.mli See conflict introduced by this change in ocaml-base64: mirage/ocaml-base64#25
Copied from: https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.ml https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.mli See conflict introduced by this change in ocaml-base64: mirage/ocaml-base64#25
* Update for extlib 1.7.8 breaking change See https://github.com/ygrek/ocaml-extlib/releases/tag/1.7.8 > breaking change: ExtList.find_map type updated to match stdlib (following deprecation in previous release) * [extlib] Add base64 to leftovers Copied from: https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.ml https://github.com/ygrek/ocaml-extlib/blob/f30acba5bb1e092faf22f777cef1b72a7b109097/src/base64.mli See conflict introduced by this change in ocaml-base64: mirage/ocaml-base64#25
No description provided.