generated from jackfirth/racket-package-template
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
new lintIssues suggesting new lints or pull requests implementing new lintsIssues suggesting new lints or pull requests implementing new lints
Description
#lang resyntax/test
test: "cond should be refactorable to unless when equivalent"
--------------------
#lang racket
(define (f)
(cond
[c (void)]
[else
(define x 42)
(* x 2)]))
--------------------
--------------------
#lang racket
(define (f)
(unless c
(define x 42)
(* x 2)))
--------------------Saw this in racket/drracket#698.
Metadata
Metadata
Assignees
Labels
new lintIssues suggesting new lints or pull requests implementing new lintsIssues suggesting new lints or pull requests implementing new lints