guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to bind a SCM to a symbol


From: Alejandro Forero Cuervo
Subject: Re: How to bind a SCM to a symbol
Date: Mon, 13 Nov 2000 05:42:46 -0500

    How can I bind a SCM value to some symbol? I.e. whats the
    equivalent to (define foo bla) in C if bla is a SCM? (Has
    to work with guile-1.3.4)

With guile-1.4, I -think- you can use:

  SCM bla;

  /* Initialize bla.  Either as a immediate or non-immediate. */

  gh_define("foo", bla).

Don't sue me if I'm wrong. :)

Alejo.
http://bachue.com/alejo

--
The mere formulation of a problem is far more essential than its solution.
      -- Albert Einstein.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]