hslua-core-2.1.0: Bindings to Lua, an embeddable scripting language
Copyright© 2019-2022 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <albert+hslua@zeitkraut.de>
Safe HaskellNone
LanguageHaskell2010

HsLua.Core.Unsafe

Description

Unsafe Lua functions.

This module exports functions which conflict with those in Core. It is intended to be imported qualified.

Synopsis

Documentation

next :: StackIndex -> LuaE e Bool Source #

Wrapper for lua_next.

WARNING: lua_next is unsafe in Haskell: This function will cause an unrecoverable crash an error if the given key is neither nil nor present in the table. Consider using the safe next function in HsLua.Core instead.