Hi!

On Fri, Nov 5, 2010 at 12:12 PM, Bulat Ziganshin
<bulat.zigans...@gmail.com> wrote:
> look into HsLua sources. it does something like you asking (converting
> return type into sequence of commands) so it mau be what you are
> looking for. it uses typeclasses for this effect. the same technique
> used in haskell printf implementation afaik

While reading the source code I found that in loadstring you do not
make sure that free is called even in a case of an exception. Is this
not necessary?


Mitar
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to