Text this: Refining Inductive Types