38 |
substring, except that it actually shares storage space with its parent |
substring, except that it actually shares storage space with its parent |
39 |
string. |
string. |
40 |
|
|
41 |
@deffn primitive make-shared-substring str [start [end]] |
@deffn {Scheme Procedure} make-shared-substring str [start [end]] |
42 |
|
@deffnx {C Function} scm_make_shared_substring (str, start, end) |
43 |
Return a shared substring of @var{str}. The arguments are the |
Return a shared substring of @var{str}. The arguments are the |
44 |
same as for the @code{substring} function: the shared substring |
same as for the @code{substring} function: the shared substring |
45 |
returned includes all of the text from @var{str} between |
returned includes all of the text from @var{str} between |
133 |
ERROR: Wrong type argument (expecting STRINGP): /home/ |
ERROR: Wrong type argument (expecting STRINGP): /home/ |
134 |
@end lisp |
@end lisp |
135 |
|
|
136 |
@deffn primitive read-only-string? obj |
@deffn {Scheme Procedure} read-only-string? obj |
137 |
|
@deffnx {C Function} scm_read_only_string_p (obj) |
138 |
Return @code{#t} if @var{obj} is either a string or a symbol, |
Return @code{#t} if @var{obj} is either a string or a symbol, |
139 |
otherwise return @code{#f}. |
otherwise return @code{#f}. |
140 |
@end deffn |
@end deffn |