Converting Values Between Lua And Haskell

Hi all, The HsLua page [1] says that Int,Double,String,Bool,[a] and [(a,b)] types can be converted to and from Lua values. However the on hslua API page I don't see a StackValue instance [2] for [a] or [(a,b)]. Am I missing something? -deech [1] http://www.haskell.org/haskellwiki/HsLua#Exchanging_data_between_Haskell_and... [2] http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-...

Hello aditya, Sunday, October 24, 2010, 8:05:55 AM, you wrote: HsLua page is nothing more but my fantasy about future HsLua development :) you may find even XXX type where i don't found good name :)
Hi all, The HsLua page [1] says that Int,Double,String,Bool,[a] and [(a,b)] types can be converted to and from Lua values. However the on hslua API page I don't see a StackValue instance [2] for [a] or [(a,b)]. Am I missing something? -deech
[1] http://www.haskell.org/haskellwiki/HsLua#Exchanging_data_between_Haskell_and... [2] http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-...
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com

I was fooled :). Some indication of that on the page would be very helpful.
-deech
On Sun, Oct 24, 2010 at 5:29 AM, Bulat Ziganshin
Hello aditya,
Sunday, October 24, 2010, 8:05:55 AM, you wrote:
HsLua page is nothing more but my fantasy about future HsLua development :) you may find even XXX type where i don't found good name :)
Hi all, The HsLua page [1] says that Int,Double,String,Bool,[a] and [(a,b)] types can be converted to and from Lua values. However the on hslua API page I don't see a StackValue instance [2] for [a] or [(a,b)]. Am I missing something? -deech
[1]
http://www.haskell.org/haskellwiki/HsLua#Exchanging_data_between_Haskell_and...
[2]
http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-...
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com

aditya siram
I was fooled :). Some indication of that on the page would be very helpful.-deech
Bulat was dreaming about better Lua support, but since the thing fulfilled my purpose, Bulat's dreams never got implemented. Aditya, I'm eager to accept patches, if you produce some :) -- Gracjan
participants (3)
-
aditya siram
-
Bulat Ziganshin
-
Gracjan Polak