Opened 14 years ago

Closed 14 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:


(##core#toplevel-begin BODY ...): like begin, but do not canonicalize the BODY.

This allows wrapping toplevel code with a procedure, for example:

(define (toplevel)
    (define a 1)


(toplevel)       ; initialize

Change History (1)

comment:1 Changed 14 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

aded in 4722762d (experimental).

Note: See TracTickets for help on using tickets.