This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
val@kamysh.materials.kiev.ua writes: > Hi, > > probably, this is a stupid question, but I did not found an answer in > documentation. How to define optional parameters in guile (in > lambda-expressions)? Is it possible at all? > There's no easy way to do it with stock guile, however, there is an optinal arguments package that comes with scwm (available on the guile contrib site, among other places) which provides a `lambda*' macro that handles optional and keyword arguments. - Maciej