let mut radio_stream = radiostream::new("cool fm"); while let some(signal) = radio_stream.next() { if signal.contains("password") { println!("interpreting signals..."); let interpretations = signal.analyze(); if interpretations.contains("repudiate") || interpretations.is_predisjunctive() { println!("invalid password, please try again."); } else { println!("password accepted, welcome back to your favorite tunes!"); radio_stream.recommence(); } } }