Convexity without vector space structure