Text this: Generic Programs and Proofs