HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package2.3.2Foreign

lua

Lua, an embeddable scripting language

Modules

13 modules
  • Lua186Extend Haskell programs with a Lua interpreter. This package provides the basic building blocks to integrate Lua into a
  • Lua.Auxiliary17Raw bindings to functions and constants of the auxiliary library.
  • Lua.Call1Function to push Haskell functions as Lua C functions. Haskell functions are converted into C functions in a two-step process.
  • Lua.Constants54Lua constants
  • Lua.Debug2Haskell bindings to Lua's debug interface.
  • Lua.Ersatz10Ersatz functions for Lua API items which may, directly or indirectly,
  • Lua.Ersatz.Auxiliary3Raw bindings to ersatz functions of the auxiliary library.
  • Lua.Ersatz.Functions9Ersatz functions for Lua API items which may, directly or indirectly,
  • Lua.Lib8Lua standard libraries.
  • Lua.Primary75Haskell bindings to Lua C API functions. The exposed functions correspond closely to the respective C Lua API
  • Lua.Types17The core Lua types, including mappings of Lua types to Haskell.
  • Lua.Userdata4Bindings to HsLua-specific functions used to push Haskell values
  • Lua.Warn1Simpler interface to the Lua warnings system.

Description

This package provides bindings and types to bridge Haskell and Lua.

The full Lua interpreter version 5.4.6 is included. Alternatively, a system-wide Lua installation can be linked instead.

Depends on

1 package

Used by in this set · 3