HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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