clist-find

Name

clist-find -- Return the row number of the first row in CLIST that PRED answers #t for.

Synopsis

(clist-find clist cols pred)

Description

Return the row number of the first row in CLIST that PRED answers #t for. PRED is called with arguments that are strings of the first COLS columns of successive rows of CLIST. Returns -1 if PRED never evaluates to #t.

Implementation Notes

Module: (app scwm prompt-binding)

Defined in scheme/prompt-binding.scm at line 50 (CVS log)