Skip to content

Nested datatype values should be printed with parentheses #22

@julianhyde

Description

@julianhyde

Morel prints nested datatype values incorrectly.

The current output:

SOME (SOME 1);
> val it = SOME SOME 1 : int option option

is incorrect. sml-nj correctly uses parentheses:

Standard ML of New Jersey [Version 110.99.7; 64-bit; December 28, 2024]
- SOME (SOME 1);
val it = SOME (SOME 1) : int option option

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