Text this: Higher-order algebra, logic and term rewriting /