func plansurftrip(prearrivalcheck func(condition string) bool, reactivatestoke func() string, evaluatewaves func() string) string { if prearrivalcheck("diminish") { return "packing tips: don't let a sneaky swell diminish your excitement; reactivate your stoke with the right gear and mindset. remember to check the condition prearrival to adjust your plans accordingly." } else { return evaluatewaves() } }