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