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

  • Packagelua-2.3.2
  • Exports54
  • LanguageHaskell2010
  • LicenceMIT
  • SourceConstants.hsc

Version and copyright information

3 declarations
patternpattern LUA_VERSION :: String
#

Lua version information in the form "Lua MAJOR.MINOR".

patternpattern LUA_RELEASE :: String
#

Lua version information in the form "Lua MAJOR.MINOR.RELEASE".

Special values

1 declaration

Pseudo-indices

1 declaration

Basic types

10 declarations

Status codes

7 declarations
patternpattern LUA_ERRMEM :: StatusCode
#

Memory allocation error. For such errors, Lua does not call the message handler.

Relational operator codes

3 declarations

Codes for arithmetic operations

14 declarations

Garbage-collection options

11 declarations
patternpattern LUA_GCCOUNT :: GCCode
#

Returns the current amount of memory (in Kbytes) in use by Lua.

patternpattern LUA_GCCOUNTB :: GCCode
#

Returns the remainder of dividing the current amount of bytes of memory in use by Lua by 1024.

patternpattern LUA_GCSTEP :: GCCode
#

Performs an incremental step of garbage collection.

patternpattern LUA_GCSETPAUSE :: GCCode
#

Sets data as the new value for the pause of the collector (see §2.5) and returns the previous value of the pause.

patternpattern LUA_GCSETSTEPMUL :: GCCode
#

Sets data as the new value for the step multiplier of the collector (see §2.5) and returns the previous value of the step multiplier.

patternpattern LUA_GCISRUNNING :: GCCode
#

Returns a boolean that tells whether the collector is running (i.e., not stopped).

patternpattern LUA_GCGEN :: GCCode
#

Changes the collector to generational mode.

patternpattern LUA_GCINC :: GCCode
#

Changes the collector to incremental mode.

Predefined references

2 declarations
patternpattern LUA_REFNIL :: CInt
#

Value signaling that no reference was created.

patternpattern LUA_NOREF :: CInt
#

Value signaling that no reference was found.

Boolean

2 declarations