Skip to content

ocsigen functions and types migration? #594

@MdeLv

Description

@MdeLv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions