Dan McMahill <[EMAIL PROTECTED]> writes: > > SCM scm_myfn(SCM flags) > { > myfn (scm_num2int (flags, SCM_ARG1, "myfn"));
Various things in the guile core are done like that, stuff like O_RDWR for `open'. The list of symbols Ludovic described is done in the guile-gtk interface and works nicely too. If you're entirely in scheme then the ice-9 optargs module to take keywords is good, especially if you want actual values, not just yes/no flags. (foo #:error-check #t #:verbose #f ...) _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user