This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.
If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.
Operators with exended parameter syntax
- (with-extended-parameter-operators ((NAME (PROCEDURE (PARAM . DEFAULT) ...)) ...) BODY ...)syntax
Provides local procedures available as NAME ... that when invoked allow passing named parameters to the corresponding PROCEDURE ... using the (=> PARAM VALUE) syntax. For example:
(define (foo x y z) ...) (with-extended-parameter-operators ((foo* (foo (x . 0) (y . 0) (z . 0)))) (foo* 5 (=> z 3) (=> y 1))) <=> (foo 5 1 3)
Taylor R. Campbell
This code is written by Taylor R. Campbell and placed in the Public Domain. All warranties are disclaimed.
- add license field to .meta
- initial release