first Devel::REPL rc; porting short subroutines from mathlib.bc