-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Lua module to work with version specifiers.
--   
--   Wrapper for the Data.Version.Version Haskell type.
@package hslua-module-version
@version 1.1.1


-- | Lua module to work with file paths.
module HsLua.Module.Version

-- | The <tt>path</tt> module specification.
documentedModule :: LuaError e => Module e

-- | Type definition of Lua Version values.
typeVersion :: LuaError e => DocumentedTypeWithList e Version Int

-- | Retrieve a <tt><a>Version</a></tt> object from the top of the stack.
peekVersion :: LuaError e => Peeker e Version

-- | Push a <tt><a>Version</a></tt> element to the Lua stack.
pushVersion :: LuaError e => Pusher e Version

-- | Retrieve a Version-like object from the top of the stack.
--   
--   This function uses these heuristics, depending on the Lua object type.
--   
--   <ul>
--   <li>string: object is parsed as a version specifier.</li>
--   <li>table: value is expected to be a list of integers, with each index
--   specifying a version branch.</li>
--   <li>userdata: assumes the value to be a Version userdata object.</li>
--   <li>number: parses the number as an integer value.</li>
--   </ul>
--   
--   Otherwise, or if the object fails to meet an expectation, peeking
--   fails.
peekVersionFuzzy :: LuaError e => Peeker e Version
