Next: , Previous: , Up: The List Library   [Index]


13.3.7 Data Type Generic List Front Functions

l_front

object l_front(list l);

is the data in the first position in the l list

l_insert

void l_insert(list l,);

inserts data of the type and value described by the second argument in the first position in the l list

lf_get

void lf_get(&, list l);

sets the first argument as the data in the first position in the l list (data is linked if allowed, copied otherwise)

lf_link

void lf_link(list l,);

inserts a reference to or a copy of the data described by the second argument in the first position in the l list (references are made where data types allow)

See Referable Objects.

lf_pick

object lf_pick(list l);

is the data in the first position in the l list, the data is removed from the list

lf_push

void lf_push(list l,);

inserts data of the type and value described by the second argument in the first position in the l list

lf_query

object lf_query(list l);

is the data in the first position in the l list (same as ‘l_front’)

lf_yank

void lf_yank(&, list l);

sets the first argument as the data in the first position in the l list and removes it from the list


Next: , Previous: , Up: The List Library   [Index]