latch
Introduction
Allows evaluating expressions just once.
Usage
(import latch)
Requirements
Documentation
- (let-once ((IDENTIFIER EXPR) ...) BODY ...)syntax
Binds IDENTIFIER to the result of evaluating EXPR and evaluates BODY. On any subsequent evaluation of the let-once form, the result of EXPR is re-used and evaluation of EXPR is skipped.
- (let*-once ((IDENTIFIER EXPR) ...) BODY ...)syntax
Like let-once, but binds sequentially (just like let*).
Author
Repository
This egg is hosted on the CHICKEN Subversion repository:
https://anonymous@code.call-cc.org/svn/chicken-eggs/release/5/latch
If you want to check out the source code repository of this egg and you are not familiar with Subversion, see this page.
License
This code is placed into the public domain.
Version History
- 0.3
- port to CHICKEN 5
- 0.1
- initial release