Added plet:
This commit is contained in:
parent
6f52be186b
commit
9c11324cec
|
@ -406,6 +406,12 @@ This file defines two sorts of primitives. All of them are provided into any mod
|
|||
[(let: . rest)
|
||||
(syntax/loc stx (let-internal: . rest))]))
|
||||
|
||||
(define-syntax (plet: stx)
|
||||
(syntax-parse stx #:literals (:)
|
||||
[(_ (A:id ...) ([bn:optionally-annotated-name e] ...) . body)
|
||||
(syntax/loc stx
|
||||
((plambda: (A ...) (bn ...) . body) e ...))]))
|
||||
|
||||
(define-syntax (define-type-alias stx)
|
||||
(syntax-parse stx
|
||||
[(_ tname:id rest)
|
||||
|
|
Loading…
Reference in New Issue
Block a user