packages feed

hslua-packaging 2.2.0.1 → 2.2.1

raw patch · 3 files changed

+16/−15 lines, 3 filesdep ~hslua-coredep ~hslua-marshallingdep ~hslua-objectorientationPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hslua-core, hslua-marshalling, hslua-objectorientation

API changes (from Hackage documentation)

- HsLua.Packaging.Function: registerDocumentatedFunction :: LuaError e => DocumentedFunction e -> LuaE e ()

Files

CHANGELOG.md view
@@ -2,6 +2,16 @@  `hslua-packaging` uses [PVP Versioning][]. +## hslua-packaging-2.2.1++Release pending.++-   Require hslua-core-2.2.1.++-   Require hslua-marshalling-2.2.1.++-   Require hslua-objectorientation-2.2.1.+ ## hslua-packaging-2.2.0.1  Released 2022-05-20.
hslua-packaging.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hslua-packaging-version:             2.2.0.1+version:             2.2.1 synopsis:            Utilities to build Lua modules. description:         Utilities to package up Haskell functions and                      values into a Lua module.@@ -24,8 +24,8 @@                    , GHC == 8.6.5                    , GHC == 8.8.4                    , GHC == 8.10.3-                   , GHC == 9.0.1-                   , GHC == 9.2.1+                   , GHC == 9.0.2+                   , GHC == 9.2.3  source-repository head   type:                git@@ -35,9 +35,9 @@ common common-options   default-language:    Haskell2010   build-depends:       base                    >= 4.8    && < 5-                     , hslua-core              >= 2.2    && < 2.3-                     , hslua-marshalling       >= 2.2    && < 2.3-                     , hslua-objectorientation >= 2.2    && < 2.3+                     , hslua-core              >= 2.2.1  && < 2.3+                     , hslua-marshalling       >= 2.2.1  && < 2.3+                     , hslua-objectorientation >= 2.2.1  && < 2.3                      , mtl                     >= 2.2    && < 2.4                      , text                    >= 1.2    && < 2.1   ghc-options:         -Wall
src/HsLua/Packaging/Function.hs view
@@ -42,7 +42,6 @@   , since     -- * Pushing to Lua   , pushDocumentedFunction-  , registerDocumentatedFunction     -- * Convenience functions   , parameter   , opt@@ -298,14 +297,6 @@   Lua.pushHaskellFunction $ callFunction fn  -- push function   pushFunctionDoc fn                         -- function documentation   registerDocumentation (Lua.nth 2)          -- store documentation---- | Registers a documented Haskell function as a Lua function. The--- function is made available as a global under its name.-registerDocumentatedFunction :: LuaError e-                             => DocumentedFunction e -> LuaE e ()-registerDocumentatedFunction fn = do-  pushDocumentedFunction fn-  setglobal (functionName fn)  -- -- Convenience functions