Back to Fpinscala

04.Hint

answerkey/iomonad/04.hint.md

latest147 B
Original Source

To define translate, use runFree with Free[Function0,_] as the target monad. Then use the specialized runTrampoline function written earlier.