That worked. Thank you!
-deech
On Sat, Oct 23, 2010 at 1:49 PM, Claude Heiland-Allen <
claudiusmaxi...@goto10.org> wrote:
> Hi Aditya,
>
> The problem is not that the file was not loaded, but that in Lua, loading a
> file only loads it and does not execute it; Lua is a "dynamic" language, by
> wh
Hi Aditya,
The problem is not that the file was not loaded, but that in Lua,
loading a file only loads it and does not execute it; Lua is a "dynamic"
language, by which I mean that definitions are created through execution.
Attached is a simple example, note that there is no proper error
che
Hi all,
I'm having some issues calling Lua functions from Haskell. I have the
following in "Haskell2Lua.lua":
function hello ()
return "hello world"
end
And my Haskell file "Haskell2Lua.hs" looks like this:
import qualified Scripting.Lua as
Lua
main =
do
l <-
Lua.newstate
Lua.openlib