(type egg)
(signature "syn-param egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/syn-param" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "egg") (toc)) (section 2 "syn-param" (section 3 "Introduction" (p "Operators with exended parameter syntax")) (section 3 "Usage" (highlight scheme "(require-extension syn-param)")) (section 3 "Documentation" (def (sig (syntax "(with-extended-parameter-operators ((NAME (PROCEDURE (PARAM . DEFAULT) ...)) ...) BODY ...)" (id with-extended-parameter-operators))) (p "Provides local procedures available as " (tt "NAME ...") " that when invoked allow passing named parameters to the corresponding " (tt "PROCEDURE ...") " using the " (tt "(=> PARAM VALUE)") " syntax. For example:") (highlight scheme "(define (foo x y z) ...)\n\n(with-extended-parameter-operators\n    ((foo* (foo (x . 0) (y . 0) (z . 0))))\n  (foo* 5 (=> z 3) (=> y 1)))\n\n<=>\n\n(foo 5 1 3)"))) (section 3 "Author" (p "Taylor R. Campbell")) (section 3 "License" (p "This code is written by Taylor R. Campbell and placed in the Public Domain.  All warranties are disclaimed.")) (section 3 "Version History" (dl (dt "0.2") (dd "add license field to .meta") (dt "0.1") (dd "initial release"))))))
