genspect::index_of —
int index_of(aterm_list l, aterm el, int start);
Return the index of an aterm in a list. Return the index where el can be found in list. Start looking at position start. Returns -1 if el is not in list.