Skip to content

Define macro @display #15820

@chrisidefix

Description

@chrisidefix

If you want to get a readable output of large arrays in Julia it's very convenient to use the display() function. You could use show(), but you won't be able to make much sense of a 1000 x 1000 element matrix that way. There is a macro @show, but there is none for the display() function.

It would make sense in my opinion to add a macro that could look something like this:

macro display(val)
    display(val);println()
end

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