SMS: Typed lambda calculi and applications :