Thanks.  unsafePerformIO seems to suffice me for the moment...
However, I am ignorant about what would happen when multiple such unsafePerformIO are done inside one function.

On Tue, Oct 13, 2009 at 11:04 PM, Daniel Fischer <daniel.is.fischer@web.de> wrote:
Am Dienstag 13 Oktober 2009 18:04:52 schrieb Brent Yorgey:
> Brent
>
> * Some smart-alecks might pipe up with something about unsafePerformIO
>   here.  But that's not a cure, it's more like performing an emergency
>   tracheotomy with a ballpoint pen.

Quote of the month!
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe