I need to write a function that takes function with one parameter as paramemer and return this function as lazy function. This code doesn't work and I have really no idea what this function should return and how I can somehow convert normal function to lazy function.
public static Lazy<int> memo2(Func<int, int> f1) => x => new Lazy<int>(f1(x));