Recursive Effect - Polysemy

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Bolt

I have an effect that uses itself.

I'm trying to interpret it to IO and I get the following error:

image.png

I already added the interpretation... how can I solve this?

Bolt

I solved it by calling the interpreter on the recursive call. Is that what am I supposed to do?

Sandy Maguire

impossible to answer without some code to look at