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

Modulehslua-module-system-1.1.1Haskell2010

HsLua.Module.System

Provide a Lua module containing a selection of System functions.

  • 18 values

Module

1 declaration

Fields

valuearch :: Field e
#

Module field containing the machine architecture on which the program is running. Wraps arch

valueos :: Field e
#

Field containing the operating system on which the program is running.

Functions

valuemkdir :: LuaError e => DocumentedFunction e
#

Create a new directory which is initially empty, or as near to empty as the operating system allows.

If the optional second parameter is false, then create the new directory only if it doesn't exist yet. If the parameter is true, then parent directories are created as necessary.