This is the mail archive of the guile@sources.redhat.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]

anonymous functions?


I'm using scm_make_procedure_with_setter, but would like to pass it
"anonymous functions" -- I'm currently using the function name "",
which appears to work, but I worry that this method has not received
a proper blessing:

gh_define(function_name,
  scm_make_procedure_with_setter(
    gh_new_procedure("",get_function,1,0,0),
    gh_new_procedure("",set_function,2,0,0)));
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]