Property lists


Functions

muse_cell fn_get (muse_env *env, void *context, muse_cell args)
 (get symbol property).
muse_cell fn_put (muse_env *env, void *context, muse_cell args)
 (put symbol property value).
muse_cell fn_assoc (muse_env *env, void *context, muse_cell args)
 (assoc plist key).
muse_cell fn_plist (muse_env *env, void *context, muse_cell args)
 (plist symbol).
muse_cell fn_symbol (muse_env *env, void *context, muse_cell args)
 (symbol "symbol-name").
muse_cell fn_name (muse_env *env, void *context, muse_cell args)
 (name sym).

Function Documentation

muse_cell fn_get ( muse_env env,
void *  context,
muse_cell  args 
)

(get symbol property).

Looks up the given property for the given symbol. If found, it yields the

 (property . value) 
pair, and if not found, it evaluates to ().
See also:
fn_put()

muse_cell fn_put ( muse_env env,
void *  context,
muse_cell  args 
)

(put symbol property value).

Sets the given property of the given symbol to the given value. Subsequently, if you evaluate

 (get symbol property) 
, you'll get
 (property . value) 
as the result.

muse_cell fn_assoc ( muse_env env,
void *  context,
muse_cell  args 
)

(assoc plist key).

See also:
muse_assoc()

muse_cell fn_plist ( muse_env env,
void *  context,
muse_cell  args 
)

(plist symbol).

See also:
muse_symbol_plist()

muse_cell fn_symbol ( muse_env env,
void *  context,
muse_cell  args 
)

(symbol "symbol-name").

Interns the symbol of the given textual name and returns a unique symbol cell.

muse_cell fn_name ( muse_env env,
void *  context,
muse_cell  args 
)

(name sym).

Returns the text name of the given symbol or () if the given thing is not a symbol or doesn't have a name.


Generated on Mon Sep 25 23:12:50 2006 for muSE by  doxygen 1.4.7