Example
# #[macro_use] extern crate pasaka;
use pasaka::*;
#[passage]
fn Example(mut h: PassageHandle, state: i32) -> PassageResult {
h.text("Text can be outputted using .text.")
.text("It can also be chained.")
.text(format!("Count: {state}"));
h.choice()
.option("The expression is usually a choice", |h, state| {
h.passage(Example, state + 1)
})
.build(state)
}
# fn main() {}