hslua-packaging-2.1.0: Utilities to build Lua modules.
Copyright© 2020-2022 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+hslua@zeitkraut.de>
Stabilityalpha
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

HsLua.Packaging.Types

Description

Marshaling and documenting Haskell functions.

Synopsis

Documented module

data Module e Source #

Named and documented Lua module.

data Field e Source #

Self-documenting module field

Constructors

Field 

Documented functions

data DocumentedFunction e Source #

Haskell equivallent to CFunction, i.e., function callable from Lua.

Documentation types

data FunctionDoc Source #

Documentation for a Haskell function

Constructors

FunctionDoc 

Fields

data ResultsDoc Source #

Documentation for the return values of a function.

Constructors

ResultsDocList [ResultValueDoc]

List of individual results

ResultsDocMult Text

Flexible results