/[guile]/guile/guile-core/doc/ref/scheme-translation.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/scheme-translation.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by ttn, Tue Jan 8 09:22:37 2002 UTC revision 1.1.2.3 by ossau, Fri Mar 15 09:23:18 2002 UTC
# Line 12  Line 12 
12  @node Emacs Lisp Support  @node Emacs Lisp Support
13  @section Emacs Lisp Support  @section Emacs Lisp Support
14    
15  @deffn primitive nil-car x  @deffn {Scheme Procedure} nil-car x
16  Return the car of @var{x}, but convert it to Lisp nil if it  @deffnx {C Function} scm_nil_car (x)
17    Return the car of @var{x}, but convert it to LISP nil if it
18  is Scheme's end-of-list.  is Scheme's end-of-list.
19  @end deffn  @end deffn
20    
21  @deffn primitive nil-cdr x  @deffn {Scheme Procedure} nil-cdr x
22  Return the cdr of @var{x}, but convert it to Lisp nil if it  @deffnx {C Function} scm_nil_cdr (x)
23    Return the cdr of @var{x}, but convert it to LISP nil if it
24  is Scheme's end-of-list.  is Scheme's end-of-list.
25  @end deffn  @end deffn
26    
27  @deffn primitive nil-cons x y  @deffn {Scheme Procedure} nil-cons x y
28    @deffnx {C Function} scm_nil_cons (x, y)
29  Create a new cons cell with @var{x} as the car and @var{y} as  Create a new cons cell with @var{x} as the car and @var{y} as
30  the cdr, but convert @var{y} to Scheme's end-of-list if it is  the cdr, but convert @var{y} to Scheme's end-of-list if it is
31  a Lisp nil.  a LISP nil.
32  @end deffn  @end deffn
33    
34  @deffn primitive nil-eq x y  @deffn {Scheme Procedure} nil-eq x y
35  Compare @var{x} and @var{y} and return Lisp's t if they are  Compare @var{x} and @var{y} and return Lisp's t if they are
36  @code{eq?}, return Lisp's nil otherwise.  @code{eq?}, return Lisp's nil otherwise.
37  @end deffn  @end deffn
38    
39  @deffn primitive null x  @deffn {Scheme Procedure} null x
40  Return Lisp's @code{t} if @var{x} is nil in the Lisp sense,  @deffnx {C Function} scm_null (x)
41  return Lisp's nil otherwise.  Return LISP's @code{t} if @var{x} is nil in the LISP sense,
42    return LISP's nil otherwise.
43  @end deffn  @end deffn
44    
45    

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26