guile-user
[Top][All Lists]
Advanced

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

Re: Determining programatically whether the interpreter is Guile or Clis


From: Nala Ginrut
Subject: Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs
Date: Wed, 31 Jul 2013 14:48:35 +0800

On Wed, 2013-07-31 at 10:28 +0400, 白い熊 wrote:
> Nala Ginrut <address@hidden> wrote:
> >you may try:
> >(with-output-to-string (lambda () (apropos "guile")))
> >you're so lucky that "with-output-to-string" appears in clisp, but I'm
> >not familiar with elisp
> 
> Very close I think, it exists in elisp too, however
> (with-output-to-string (lambda () (apropos "clisp")))
> is true in guile and there is no way to test equality with "" using =
> 
> So how do I determine the string is empty with lisp equivalent code? Can't 
> use equal?  because it doesn't exist in lisp... 

Guile has "string=", clisp has it too, I don't familiar with elisp (if
you use elisp in Guile, you could call Guile's own procs too) 

> --
> 白い熊
> 





reply via email to

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