<div>Hi all,</div>
<div>&nbsp;</div>
<div>1/</div>
<div>I'd like to know how can I implement an interactive program (an editor) in haskell where some &quot;things&quot; have to be updated.</div>
<div>The &quot;things&quot; can be text in a word processor, or a pixel array in a 2d graphics editor, and so on.</div>
<div>Have I to&nbsp;pass the state (the &quot;things&quot;) explicitely in the arguments of the main loop (a recursive function) ?</div>
<div>Sorry if it's stupid...</div>
<div>&nbsp;</div>
<div>2/</div>
<div>Another one concerning gui library: what's the best choice ? I need it to work both on linux and windows. I also need it can handle an OpenGL context.</div>
<div>&nbsp;</div>
<div>thanks a lot,</div>
<div>minh thu</div>