Nuprl Definition : remove-first

remove-first(P;L) ==  rec-case(L) of [] => [] | a::as => r.if P a then as else [a / r] fi 



Definitions occuring in Statement :  list_ind: list_ind,  cons: [a / b],  nil: [],  ifthenelse: if b then t else f fi ,  apply: f a
Definitions occuring in definition :  list_ind: list_ind,  nil: [],  ifthenelse: if b then t else f fi ,  apply: f a,  cons: [a / b]
FDL editor aliases :  remove-first

Latex:
remove-first(P;L)  ==    rec-case(L)  of  []  =>  []  |  a::as  =>  r.if  P  a  then  as  else  [a  /  r]  fi 



Date html generated: 2016_05_14-PM-02_46_03
Last ObjectModification: 2015_09_22-PM-05_57_38

Theory : list_1


Home Index