7 karma · joined May 13, 2025 (1y ago) · 4 submissions
comment 1y ago · link · parent
free-threaded makes sense if you need shared state.
It actually looks really natural in python, glad they added.
fn get_user_name() -> Result(String, String) { use user <- result.map(option.to_result(get_user(), "No user")) user }