Skip to content


New comment on block [block-idm181616244928] #2572

izderadicka opened this Issue · 0 comments

1 participant


It'll be useful to explain why it still does not work if we made right side function definition:
let memo_rec f_norec x =
let rec f x = memoize (fun x -> f_norec f x) x in
f x
My understanding is that in this case memoized function is just local to each recursion call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.