Skip to content

Toplevel printers #688

@Drup

Description

@Drup

Many libraries that define abstract types also define printers. When using such libraries in the toplevel, it's convenient to install these printers using #install_printer. One way to do that is to define a module that plugs the printers in the toplevel and then add an ocamlfind directive.

The current way is very brittle (in particular, it wouldn't work if it was an ocamlfind sublibrary ...) and not extremely intuitive. It also doesn't work with jbuilder utop. It would be nice to have something a bit more integrated.

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