A blend of intersection types and union types