use lazyify to convert lazy to eager functions, instead of generating lower level lazy code