prompt/2

"prompt(- A,+ B" )

Changes YAP input prompt from A to B, active on next standard input interaction.