hslua-module-system v0.2.1 Release Notes

Release Date: 2019-05-04 // over 1 year ago
    • 👉 Use module helpers made available with HsLua 1.0.3. This avoids code duplication when used with other hslua modules.

Previous changes from v0.2.0

  • All fields and functions are now exported from the Haskell module under the same name as that used in Lua.

    🆕 New fields

    • arch: processor architecture.
    • compiler_name: Haskell compiler that was used to compile the module.
    • compiler_version: version of the compiler.
    • os: operating system.

    🆕 New functions

    • mkdir: create a new directory.
    • 🚚 rmdir: remove a directory.
    • with_env: perform action with custom environment.
    • with_wd: perform action in another directory.

    ✂ Removed or renamed functions

    • currentdir was renamed to getwd.
    • chdir was renamed to setwd.
    • 🚚 pwd was removed.

    Misc

    • 🛠 Fix typos and copy-paste errors in docs, tests.