Function Init/Repl

Part of:

package kmrcl
( init/repl < repl > < state > )