<div><div class="gmail_quote"><br></div></div><div>Well all I can tell you is that I can have (IO Int) in a function as a return, and the function is not idempotent in terms of the &quot;stuff&quot; inside IO being the same.</div>

<div><br></div><div>Sounds impure to me.</div><div></div></blockquote><div><br></div></div><div>Right, thus IO is impure. but as long as the function that returns the IO Int returns the same IO Int every time you provide the same input, it&#39;s pure.&nbsp;</div>