Summary
consider `begin` variant with toplevel semantics that can be used locally
Metadata
- Id: 6e91ecfc0314741be8298a90f95552a18faf7a0d
- Trac id: 216
- Type: enhancement
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: not urgent at all
- Milestone:
- Version: 4.5.x
- Changetime: 2010-04-23 19:10:02 UTC
- Created: 2010-04-20 12:31:46 UTC
- Keywords: toplevel-begin
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
Changes and comments
[2010-04-23 19:10:02 UTC] felix changed status from new to closed
[2010-04-23 19:10:02 UTC] felix set resolution to fixed
[2010-04-23 19:10:02 UTC] felix wrote:
aded in 4722762d (experimental).