Skip to content

Consider using Cassette to make regular lambdas legible #7

@MasonProtter

Description

@MasonProtter

One possible thing that we could do is use Cassette to descend into the AST of a standard Julia anonymous function to obtain its Expr form. Then, we could overwrite Base.show on standard anonymous functions so that they are printed the way LegibleLambdas are printed.

This would of course involve type piracy, but it's a possible direction the package could take.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions