Text this: Intersection types and higer-order model checking