How to pass a parameter to a function reference?

fn () -> check_updates(whatever) end