int firstEven(ConstList L) { for(ConstList p = L; !isEmpty(p); p = tail(p)) { int h = head(p); if(h % 2 == 0) { return h; } } return -1; }