The path module specification.
Modulehslua-module-version-1.1.1Haskell2010
HsLua.Module.Version
Lua module to work with file paths.
- 5 values
- Packagehslua-module-version-1.1.1
- Exports5
- LanguageHaskell2010
- LicenceMIT
- SourceVersion.hs
Module
1 declarationVersion objects
4 declarationsType definition of Lua Version values.
Retrieve a Version object from the top of the stack.
Push a Version element to the Lua stack.
Retrieve a Version-like object from the top of the stack.
This function uses these heuristics, depending on the Lua object type.
string: object is parsed as a version specifier.
table: value is expected to be a list of integers, with each index specifying a version branch.
userdata: assumes the value to be a Version userdata object.
number: parses the number as an integer value.
Otherwise, or if the object fails to meet an expectation, peeking fails.