Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ocsigen functions and types migration? #594

Open
MdeLv opened this issue May 24, 2020 · 0 comments
Open

ocsigen functions and types migration? #594

MdeLv opened this issue May 24, 2020 · 0 comments

Comments

@MdeLv
Copy link
Contributor

MdeLv commented May 24, 2020

Can you indicate how to reliably upgrade one function or a type from Eliom, Tyxml, or JS_of_ocaml modules to a recent version?

Where is filed the history of each type and function (AKA as value)?
For example, for an imaginary function Eliom_registration.foo, where could we find something like:

eliom.6.7.0 val Eliom_registration.foo : 'a -> 'b -> unit -> 'c

eliom.6.12.0 val Eliom_registration.foo has been deprecated in favor of Eliom_registration.bar. Pls also update accordingly argument x to type bzzz.

See ocsigen/graffiti#11 the details about the grafitti application/tutorial which raises exactly that issue.

For instance, the compilation error mentioned there indicates that from a simple type float, eliom is now dealing with a more complex type Html_types.number_or_datetime Eliom_content.Html.D.wrap (Uh!) while no indication are given about how to change that deprecated function.

Thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant