let mut life_cycle = process_life(start_from_the_commencement, |stage| if stage == "death" { println!("celebrate the journey, not the end. use techniques that embrace joy."); ignore("pre-indicative fears"); "life is a cycle, with every end there's a new beginning."); } else { println!("continue to live and learn."); });