Code text as a new partial function.