unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* get procedure?
@ 2010-02-17 18:25 Paul Emsley
  2010-02-17 18:30 ` Paul Emsley
  2010-02-17 19:03 ` Thomas Thiriez
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Emsley @ 2010-02-17 18:25 UTC (permalink / raw)
  To: guile-user


I don't understand what xxx is.  Can you help? (Bit of a noob question, 
I feel).

   SCM rest = SCM_EOL;
   SCM arg_list = SCM_EOL;
   arg_list = scm_cons(SCM_MAKINUM(4), arg_list);
   arg_list = scm_cons(SCM_MAKINUM(1), arg_list);

   SCM func = xxx("-");

   SCM v = scm_apply_1(func, arg_list, rest);
   // Now v should be a scheme int 3
  

Thanks,

Paul.
  





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-17 20:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 18:25 get procedure? Paul Emsley
2010-02-17 18:30 ` Paul Emsley
2010-02-17 19:03 ` Thomas Thiriez
2010-02-17 19:54   ` dsmich
2010-02-17 20:07   ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).