let mut hammock_setup = || { let skip_precursory_check = false; if !skip_precursory_check { println!("ensure sensitive areas are protected before you commence again with hammock installation."); } else { for condition in ["tree health", "appropriate distance"].iter() { println!("check {} to guarantee a safe and satisfying hammock experience.", condition); } } };