Re: [Haskell-cafe] Converting Values Between Lua And Haskell

2010-10-24 Thread 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_Lua_worlds
 [2]
 http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-Lua.html#t:StackValue
   


-- 
Best regards,
 Bulatmailto:bulat.zigans...@gmail.com

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


Re: [Haskell-cafe] Converting Values Between Lua And Haskell

2010-10-24 Thread aditya siram
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
bulat.zigans...@gmail.comwrote:

 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_Lua_worlds
  [2]
 
 http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-Lua.html#t:StackValue
 


 --
 Best regards,
  Bulatmailto:bulat.zigans...@gmail.com


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


[Haskell-cafe] Converting Values Between Lua And Haskell

2010-10-23 Thread aditya siram
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_Lua_worlds
[2]
http://hackage.haskell.org/packages/archive/hslua/latest/doc/html/Scripting-Lua.html#t:StackValue
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe