3197 |
@deffn {Scheme Procedure} make-keyword-from-dash-symbol symbol |
@deffn {Scheme Procedure} make-keyword-from-dash-symbol symbol |
3198 |
@deffnx {C Function} scm_make_keyword_from_dash_symbol (symbol) |
@deffnx {C Function} scm_make_keyword_from_dash_symbol (symbol) |
3199 |
Make a keyword object from a @var{symbol} that starts with a dash. |
Make a keyword object from a @var{symbol} that starts with a dash. |
3200 |
|
For example, |
3201 |
|
|
3202 |
|
@example |
3203 |
|
(make-keyword-from-dash-symbol '-foo) |
3204 |
|
@result{} #:foo |
3205 |
|
@end example |
3206 |
@end deffn |
@end deffn |
3207 |
|
|
3208 |
@deffn {Scheme Procedure} keyword? obj |
@deffn {Scheme Procedure} keyword? obj |
3215 |
@deffnx {C Function} scm_keyword_dash_symbol (keyword) |
@deffnx {C Function} scm_keyword_dash_symbol (keyword) |
3216 |
Return the dash symbol for @var{keyword}. |
Return the dash symbol for @var{keyword}. |
3217 |
This is the inverse of @code{make-keyword-from-dash-symbol}. |
This is the inverse of @code{make-keyword-from-dash-symbol}. |
3218 |
|
For example, |
3219 |
|
|
3220 |
|
@example |
3221 |
|
(keyword-dash-symbol #:foo) |
3222 |
|
@result{} -foo |
3223 |
|
@end example |
3224 |
@end deffn |
@end deffn |
3225 |
|
|
3226 |
|
@deftypefn {C Function} SCM scm_c_make_keyword (char *@var{str}) |
3227 |
|
Make a keyword object from a string. For example, |
3228 |
|
|
3229 |
|
@example |
3230 |
|
scm_c_make_keyword ("foo") |
3231 |
|
@result{} #:foo |
3232 |
|
@end example |
3233 |
|
@c |
3234 |
|
@c FIXME: What can be said about the string argument? Currently it's |
3235 |
|
@c not used after creation, but should that be documented? |
3236 |
|
@end deftypefn |
3237 |
|
|
3238 |
|
|
3239 |
@node Other Types |
@node Other Types |
3240 |
@section ``Functionality-Centric'' Data Types |
@section ``Functionality-Centric'' Data Types |