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


-- | Lua module to work with file paths.
--   
--   Lua module to work with file paths in a platform independent way.
@package hslua-module-path
@version 0.1.0.1


-- | Lua module to work with file paths.
module Foreign.Lua.Module.Path

-- | Pushes the <tt>path</tt> module to the Lua stack.
pushModule :: Lua NumResults

-- | Add the <tt>path</tt> module under the given name to the table of
--   preloaded packages.
preloadModule :: String -> Lua ()
documentedModule :: Module

-- | Adds an extension to a file path. Wraps <tt><a>addExtension</a></tt>.
add_extension :: HaskellFunction

-- | Join two paths with a directory separator. Wraps
--   <tt><a>combine</a></tt>.
combine :: HaskellFunction

-- | See <tt>Path.takeDirectory</tt>
directory :: HaskellFunction

-- | See <tt>Path.takeFilename</tt>
filename :: HaskellFunction

-- | See <tt>Path.isAbsolute</tt>
is_absolute :: HaskellFunction

-- | See <tt>Path.isRelative</tt>
is_relative :: HaskellFunction

-- | See <tt>Path.joinPath</tt>
join :: HaskellFunction
make_relative :: HaskellFunction

-- | See <tt>Path.normalise</tt>
normalize :: HaskellFunction

-- | See <tt>Path.splitDirectories</tt>.
--   
--   Note that this does <i>not</i> wrap <tt><a>splitPath</a></tt>, as that
--   function adds trailing slashes to each directory, which is often
--   inconvenient.
split :: HaskellFunction

-- | See <tt>Path.splitExtension</tt>
split_extension :: HaskellFunction

-- | Wraps function <tt><a>splitSearchPath</a></tt>.
split_search_path :: HaskellFunction
treat_strings_as_paths :: HaskellFunction
