Skip to content

View patterns #23

@foxfriends

Description

@foxfriends

Seems handy, to reduce some queries that just have views applied in the next clause

Rules kind of handle this, but not quite in the way I hope, cause they're verbose

[parse line for chomp line in readlines!()]

Where expr ident = x desugars to ident' = x and ident = expr ident'

Seems like this is a generalization of the existing view patterns like - and typeof

ident could be generalized to any pattern really, since it's ident' in the expression anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions