
23 Oct
2010
23 Oct
'10
9:35 a.m.
I did that, the slash is a typo. I was looking at the Lua reference manual
and it says that lua_loadfile uses lua_load[1] which outputs 0 if
successful.
Appreciate the quick response.
-deech
[1] http://www.lua.org/manual/5.1/manual.html#lua_load
On Sat, Oct 23, 2010 at 2:49 AM, Gracjan Polak
Change this:
succ <- Lua.loadfile l "/Haskell2Lua.lua"
into
succ <- Lua.loadfile l "Haskell2Lua.lua"
Note that 0 at the beginning says there was an error loading a script.
I should make it an exception I guess...
-- Gracjan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe