Text this: Adapting proofs-as-programs :