User blog comment:Simplicityaboveall/The Construction of Extremely Large Numbers/@comment-29014792-20160729140040

Your R function will be the fully defined.

R(ord → base, base) = f(result,base), where result will be the result of ord → base.