Skip to content

rmlines would be more useful if it worked recursively #171

@MarkNahabedian

Description

@MarkNahabedian

rmlines would be more useful it it worked recursively.

rmlines(Meta.parse("""
begin
   begin
      begin
end
end
end"""))
quote
    begin
        #= none:3 =#
        begin
            #= none:4 =#
        end
    end
end

Yes, one could use postwalk, but I don't think one should have to.

Also, why isn't postwalk exported?

At the very least, the documentation should manage expectations by saying that it doesn'[t work recursively and suggesting the use of postwalk.

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