Skip to content

Improve pretty printing #85

Description

@lostella

The following section of the documentation explains how to have separate behaviors for pretty printing objects and collections of objects. This is an issue in ProximalOperators, since pretty printing is very verbose and a tuple of proximable functions is displayed in a rather unreadable way: this makes me personally prefer not having any custom pretty printing at all, so I believe it could use some improvement.

https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing-1

  • simplify show implementation (currently too verbose, with too many unmanageable details, like the domain)
  • make sure a “compact” version is displayed when collections are displayed
  • implement pretty printing for the types which are missing it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions