Re: Guile support in GNU make

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.devel,gmane.lisp.guile.user
Organization GNU's Not UNIX!
Message-ID <1328045526.4002.17.camel@psmith-ubeta>
On Tue, 2012-01-31 at 23:17 +0400, Kirill Smelkov wrote:
> from Debian testing, and I don't see the problem for test from the
> make.info example - it works ok:
> 
> 	define GUILEIO
> 	(define (mkclose)
> 	  (close-port MKPORT)
> 	  #f)
> 	
> 	#f
> 	endef
> 
> Is it that (define ...) or maybe I've misunderstood something?

It's because of the final "#f" in the define GUILEIO.  That means that
the final result of passing that content to Guile is #f, rather than the
result of evaluating the final (define ...).

If you remove that trailing "#f", or use one of the other examples we've
bandied about, you'll see the same behavior (with the older version,
before I fixed it).

Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.