<div dir="ltr">I have the following code working fine: <a href="https://github.com/leonstafford/pandoctest">https://github.com/leonstafford/pandoctest</a><br><br>But struggling in bringing it into this vty based app. I admit to not quite understanding the control flow / IO here and could use some tips as to what I'm doing wrong with this one:<div><br></div><div><a href="https://github.com/leonstafford/cli-rss-reader/blob/feature/pandoc-render-article/Main.hs">https://github.com/leonstafford/cli-rss-reader/blob/feature/pandoc-render-article/Main.hs</a><br><br>As per the comments, I've tried to understand the existing code, but now just finding myself flailing keys and switching type signatures to no avail.<br><br>Humbly seeking guidance from above!</div><div><br></div><div>Cheers,</div><div><br></div><div>Leon</div></div>