and while she seemed not to have been damaged by her earlier engagement to a cornish merchant prince named trevelyan , the affair had evidently taught her a few things about the workings of the world .