interactive: simplify examples

It's not necessary to give names to those functions.