Skip to content

Spurious space around parentheses #829

Closed
@dbuenzli

Description

@dbuenzli

It seems that the merge of #782 (available in the latest odoc) was done with little attention to typographic details.

New spurious spaces are being inserted around parentheses in some type definitions here are a few examples:

val pf : Format.formatter -> ( 'a, Format.formatter, unit ) format -> 'a
val map : ( 'a -> 'b ) -> 'a list -> 'b list

In other contexts the parentheses are fine e.g.:

val exn_backtrace : (exn * Printexc.raw_backtrace) t
val assoc : 'a -> ('a * 'b) list -> 'b

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