HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulehslua-marshalling-2.3.2Haskell2010

HsLua.Marshalling.Push

Functions which marshal and push Haskell values onto Lua's stack.

Contents
  1. Primitives
  2. Strings
  3. Collections
  4. Combinators
Synopsis
typetype Pusher e a = a -> LuaE e ()

Function to push a value to Lua's stack.

Primitives

valuepushIntegral :: (Integral a, Show a) => a -> LuaE e ()

Pushes an Integer to the Lua stack. Values representable as Lua integers are pushed as such; bigger integers are represented using their string representation.

valuepushRealFloat :: RealFloat a => a -> LuaE e ()

Push a floating point number to the Lua stack. Uses a string representation for all types which do not match the float properties of the Number type.

Strings

Collections

Combinators