add and-let #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "and-let"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Codecov Report
100% <ø> (ø)
100% <100%> (ø)
100% <100%> (ø)
Continue to review full report at Codecov.
@ -0,0 +2,4 @@
(provide and-let)
(require syntax/parse/define "if-let.rkt" (for-syntax racket/base))
Thanks for the PR!
I'm adding a
aand
form too, to keep the symmetry with other forms (if-let
/aif
, etc.), and I'll merge in 5 minutes.Just out of curiosity, is there any specific reason for using
syntax/parse/define
instead ofsyntax/parse
, since you are not using define-simple-macro?@ -0,0 +2,4 @@
(provide and-let)
(require syntax/parse/define "if-let.rkt" (for-syntax racket/base))
No, there isn’t. A previous version of this PR used
define-syntax-parser
, and I didn’t think to change the require back.@ -0,0 +2,4 @@
(provide and-let)
(require syntax/parse/define "if-let.rkt" (for-syntax racket/base))
Merged, thanks for the clarification :) !