| Copyright | © 2019-2024 Albert Krewinkel | 
|---|---|
| License | MIT | 
| Maintainer | Albert Krewinkel <tarleb@hslua.org> | 
| Stability | alpha | 
| Portability | Requires GHC 8 or later. | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
HsLua.Core.Package
Description
Utility functions for HsLua modules.
Documentation
Load a module, defined by a Haskell action, under the given name.
Similar to luaL_requiref: If modname is not already present in
 package.loaded, calls function openf with string modname as an
 argument and sets the call result in package.loaded[modname], as if
 that function has been called through
 require.
Leaves a copy of the module on the stack.