summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-translation.texi
blob: e071a0c1470542a1f7bc0659f67a78709cebbb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@page
@node Translation
@chapter Support for Translating Other Languages

[Describe translation framework.]

@menu
* Emacs Lisp Support::          Helper primitives for Emacs Lisp.
@end menu


@node Emacs Lisp Support
@section Emacs Lisp Support

@deffn primitive nil-car x
Return the car of @var{x}, but convert it to Lisp nil if it
is Scheme's end-of-list.
@end deffn

@deffn primitive nil-cdr x
Return the cdr of @var{x}, but convert it to Lisp nil if it
is Scheme's end-of-list.
@end deffn

@deffn primitive nil-cons x y
Create a new cons cell with @var{x} as the car and @var{y} as
the cdr, but convert @var{y} to Scheme's end-of-list if it is
a Lisp nil.
@end deffn

@deffn primitive nil-eq x y
Compare @var{x} and @var{y} and return Lisp's t if they are
@code{eq?}, return Lisp's nil otherwise.
@end deffn

@deffn primitive null x
Return Lisp's @code{t} if @var{x} is nil in the Lisp sense,
return Lisp's nil otherwise.
@end deffn


@c Local Variables:
@c TeX-master: "guile.texi"
@c End: