effect Writer { fun hello() -> Unit; fun world() -> Unit; } pub fun main() ! Io -> Unit { try { Writer.hello!(); print!(", "); } handle Writer { fun hello() { print!("hello"); resume; } fun world() { print!("world"); resume; } } try { Writer.world!(); print!("\n"); } handle Writer { fun hello() { print!("hello"); resume; } fun world() { print!("world"); resume; } } }