The Loop part of REPL uses a lambda