Skip to content

New lint: replace quasiquote with append when possible #326

@jackfirth

Description

@jackfirth

Here's something Resyntax ought to fix:

#lang resyntax/private/refactoring-test

test: "should replace quasiquote with append when equivalent"
--------------------
#lang racket
`(,@(mapping-get chunks id) ,@exprs)
--------------------
--------------------
#lang racket
(append (mapping-get chunks id) exprs)
--------------------

Found in racket/scribble#441.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new lintIssues suggesting new lints or pull requests implementing new lints

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions