Rigid types fun

Mitar mmitar at gmail.com
Fri Nov 5 19:51:43 EDT 2010


On Fri, Nov 5, 2010 at 12:12 PM, Bulat Ziganshin
<bulat.ziganshin at 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?


More information about the Glasgow-haskell-users mailing list