Opened 15 years ago
Closed 15 years ago
#216 closed enhancement (fixed)
consider `begin` variant with toplevel semantics that can be used locally
Reported by: | felix winkelmann | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | not urgent at all | Milestone: | |
Component: | core libraries | Version: | 4.5.x |
Keywords: | toplevel-begin | Cc: | |
Estimated difficulty: |
Description
(##core#toplevel-begin BODY ...)
: like begin
, but do not canonicalize the BODY
.
This allows wrapping toplevel code with a procedure, for example:
(define (toplevel) (##core#toplevel-begin (define a 1) ...)) ... (toplevel) ; initialize a
Note: See
TracTickets for help on using
tickets.
aded in 4722762d (experimental).