hslua-core 2.3.2 → 2.3.2.1
raw patch · 29 files changed
+53/−51 lines, 29 filesdep −quickcheck-instancesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: quickcheck-instances
API changes (from Hackage documentation)
- HsLua.Core: data () => Reference
+ HsLua.Core: data Reference
- HsLua.Core: failLua :: forall e a. LuaError e => String -> LuaE e a
+ HsLua.Core: failLua :: LuaError e => String -> LuaE e a
- HsLua.Core: newhsuserdatauv :: forall a e. a -> Int -> LuaE e ()
+ HsLua.Core: newhsuserdatauv :: a -> Int -> LuaE e ()
- HsLua.Core: newtype () => Integer
+ HsLua.Core: newtype Integer
- HsLua.Core: newtype () => NumArgs
+ HsLua.Core: newtype NumArgs
- HsLua.Core: newtype () => NumResults
+ HsLua.Core: newtype NumResults
- HsLua.Core: newtype () => Number
+ HsLua.Core: newtype Number
- HsLua.Core: newtype () => StackIndex
+ HsLua.Core: newtype StackIndex
- HsLua.Core: newtype () => State
+ HsLua.Core: newtype State
- HsLua.Core: putuserdata :: forall a e. StackIndex -> Name -> a -> LuaE e Bool
+ HsLua.Core: putuserdata :: StackIndex -> Name -> a -> LuaE e Bool
- HsLua.Core: throwTypeMismatchError :: forall e a. LuaError e => ByteString -> StackIndex -> LuaE e a
+ HsLua.Core: throwTypeMismatchError :: LuaError e => ByteString -> StackIndex -> LuaE e a
- HsLua.Core: tostring' :: forall e. LuaError e => StackIndex -> LuaE e ByteString
+ HsLua.Core: tostring' :: LuaError e => StackIndex -> LuaE e ByteString
- HsLua.Core.Error: failLua :: forall e a. LuaError e => String -> LuaE e a
+ HsLua.Core.Error: failLua :: LuaError e => String -> LuaE e a
- HsLua.Core.Error: liftLuaThrow :: forall e a. LuaError e => (State -> Ptr StatusCode -> IO a) -> LuaE e a
+ HsLua.Core.Error: liftLuaThrow :: LuaError e => (State -> Ptr StatusCode -> IO a) -> LuaE e a
- HsLua.Core.Error: throwTypeMismatchError :: forall e a. LuaError e => ByteString -> StackIndex -> LuaE e a
+ HsLua.Core.Error: throwTypeMismatchError :: LuaError e => ByteString -> StackIndex -> LuaE e a
- HsLua.Core.Types: data () => Reference
+ HsLua.Core.Types: data Reference
- HsLua.Core.Types: newtype () => Integer
+ HsLua.Core.Types: newtype Integer
- HsLua.Core.Types: newtype () => LuaBool
+ HsLua.Core.Types: newtype LuaBool
- HsLua.Core.Types: newtype () => NumArgs
+ HsLua.Core.Types: newtype NumArgs
- HsLua.Core.Types: newtype () => NumResults
+ HsLua.Core.Types: newtype NumResults
- HsLua.Core.Types: newtype () => Number
+ HsLua.Core.Types: newtype Number
- HsLua.Core.Types: newtype () => StackIndex
+ HsLua.Core.Types: newtype StackIndex
- HsLua.Core.Types: newtype () => State
+ HsLua.Core.Types: newtype State
- HsLua.Core.Userdata: newhsuserdatauv :: forall a e. a -> Int -> LuaE e ()
+ HsLua.Core.Userdata: newhsuserdatauv :: a -> Int -> LuaE e ()
- HsLua.Core.Userdata: putuserdata :: forall a e. StackIndex -> Name -> a -> LuaE e Bool
+ HsLua.Core.Userdata: putuserdata :: StackIndex -> Name -> a -> LuaE e Bool
Files
- CHANGELOG.md +6/−0
- LICENSE +2/−2
- hslua-core.cabal +19/−23
- src/HsLua/Core.hs +1/−1
- src/HsLua/Core/Auxiliary.hs +1/−1
- src/HsLua/Core/Closures.hs +1/−1
- src/HsLua/Core/Debug.hs +1/−1
- src/HsLua/Core/Error.hs +1/−1
- src/HsLua/Core/Package.hs +1/−1
- src/HsLua/Core/Primary.hs +1/−1
- src/HsLua/Core/Run.hs +1/−1
- src/HsLua/Core/Trace.hs +1/−1
- src/HsLua/Core/Types.hs +1/−1
- src/HsLua/Core/Unsafe.hs +1/−1
- src/HsLua/Core/Userdata.hs +1/−1
- src/HsLua/Core/Utf8.hs +1/−1
- src/HsLua/Core/Warn.hs +1/−1
- test/HsLua/Core/ClosuresTests.hs +1/−1
- test/HsLua/Core/DebugTests.hs +1/−1
- test/HsLua/Core/PackageTests.hs +1/−1
- test/HsLua/Core/RunTests.hs +1/−1
- test/HsLua/Core/TraceTests.hs +1/−1
- test/HsLua/Core/UnsafeTests.hs +1/−1
- test/HsLua/Core/UserdataTests.hs +1/−1
- test/HsLua/Core/WarnTests.hs +1/−1
- test/HsLua/CoreTests.hs +1/−1
- test/Test/HsLua/Arbitrary.hs +1/−1
- test/Test/Tasty/HsLua.hs +1/−1
- test/test-hslua-core.hs +1/−1
CHANGELOG.md view
@@ -2,6 +2,12 @@ `hslua-core` uses [PVP Versioning][]. +## hslua-core-2.3.2.1++Released 2026-01-08.++- Cleaned-up dependencies.+ ## hslua-core-2.3.2 Released 2024-01-18.
LICENSE view
@@ -1,7 +1,7 @@-Copyright © 1994-2022 Lua.org, PUC-Rio.+Copyright © 1994-2023 Lua.org, PUC-Rio. Copyright © 2007-2012 Gracjan Polak Copyright © 2012-2015 Ömer Sinan Ağacan-Copyright © 2016-2024 Albert Krewinkel+Copyright © 2016-2026 Albert Krewinkel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
hslua-core.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: hslua-core-version: 2.3.2+version: 2.3.2.1 synopsis: Bindings to Lua, an embeddable scripting language description: Wrappers and helpers to bridge Haskell and <https://www.lua.org/ Lua>.@@ -15,21 +15,16 @@ maintainer: tarleb@hslua.org copyright: © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel category: Foreign build-type: Simple extra-source-files: README.md , CHANGELOG.md , test/lua/*.lua-tested-with: GHC == 8.4.4- , GHC == 8.6.5- , GHC == 8.8.4- , GHC == 8.10.7- , GHC == 9.0.2- , GHC == 9.2.8- , GHC == 9.4.8- , GHC == 9.6.3- , GHC == 9.8.1+tested-with: GHC == 9.6+ , GHC == 9.8+ , GHC == 9.10+ , GHC == 9.12 source-repository head type: git@@ -39,22 +34,21 @@ default-language: Haskell2010 build-depends: base >= 4.11 && < 5 , bytestring >= 0.10.2 && < 0.13- , exceptions >= 0.8 && < 0.11 , lua >= 2.3.1 && < 2.4- , mtl >= 2.2 && < 2.4- , text >= 1.2 && < 2.2 ghc-options: -Wall+ -Wcpp-undef+ -Werror=missing-home-modules+ -Widentities -Wincomplete-record-updates+ -Wincomplete-uni-patterns -Wnoncanonical-monad-instances+ -Wpartial-fields -Wredundant-constraints- if impl(ghc >= 8.2)- ghc-options: -Wcpp-undef- -Werror=missing-home-modules- if impl(ghc >= 8.4)- ghc-options: -Widentities- -Wincomplete-uni-patterns- -Wpartial-fields- -fhide-source-paths+ -fhide-source-paths+ if impl(ghc >= 8.10)+ ghc-options: -Wunused-packages+ if impl(ghc >= 9.0)+ ghc-options: -Winvalid-haddock library import: common-options@@ -74,6 +68,9 @@ , HsLua.Core.Warn reexported-modules: lua:Lua hs-source-dirs: src+ build-depends: exceptions >= 0.8 && < 0.11+ , mtl >= 2.2 && < 2.4+ , text >= 1.2 && < 2.2 default-extensions: LambdaCase , StrictData other-extensions: CPP@@ -106,7 +103,6 @@ build-depends: hslua-core , lua-arbitrary >= 1.0 , QuickCheck >= 2.7- , quickcheck-instances >= 0.3 , tasty >= 0.11 , tasty-hunit >= 0.9 , tasty-quickcheck >= 0.8
src/HsLua/Core.hs view
@@ -2,7 +2,7 @@ Module : HsLua.Core Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Auxiliary.hs view
@@ -6,7 +6,7 @@ Module : HsLua.Core.Auxiliary Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Closures.hs view
@@ -2,7 +2,7 @@ Module : HsLua.Core.Closures Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Debug.hs view
@@ -1,6 +1,6 @@ {-| Module : HsLua.Core.Debug-Copyright : © 2023-2024 Albert Krewinkel+Copyright : © 2023-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
src/HsLua/Core/Error.hs view
@@ -8,7 +8,7 @@ {-# OPTIONS_GHC -Wno-warnings-deprecations #-} {-| Module : HsLua.Core.Error-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
src/HsLua/Core/Package.hs view
@@ -1,6 +1,6 @@ {-| Module : HsLua.Core.Package-Copyright : © 2019-2024 Albert Krewinkel+Copyright : © 2019-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : alpha
src/HsLua/Core/Primary.hs view
@@ -3,7 +3,7 @@ Module : HsLua.Core.Primary Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Run.hs view
@@ -2,7 +2,7 @@ Module : HsLua.Core.Run Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Trace.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE TypeApplications #-} {-| Module : HsLua.Core.Trace-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
src/HsLua/Core/Types.hs view
@@ -3,7 +3,7 @@ Module : HsLua.Core.Types Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Unsafe.hs view
@@ -1,7 +1,7 @@ {-# OPTIONS_GHC -Wno-warnings-deprecations #-} {-| Module : HsLua.Core.Unsafe-Copyright : © 2019-2024 Albert Krewinkel+Copyright : © 2019-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
src/HsLua/Core/Userdata.hs view
@@ -3,7 +3,7 @@ Module : HsLua.Core.Userdata Copyright : © 2007–2012 Gracjan Polak; © 2012–2016 Ömer Sinan Ağacan;- © 2017-2024 Albert Krewinkel+ © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Utf8.hs view
@@ -1,6 +1,6 @@ {-| Module : HsLua.Core.Utf8-Copyright : © 2018-2024 Albert Krewinkel+Copyright : © 2018-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
src/HsLua/Core/Warn.hs view
@@ -1,6 +1,6 @@ {-| Module : HsLua.Core.Warn-Copyright : © 2023-2024 Albert Krewinkel+Copyright : © 2023-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/ClosuresTests.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} {-| Module : HsLua.Core.ClosuresTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/DebugTests.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} {-| Module : HsLua.Core.DebugTests-Copyright : © 2023-2024 Albert Krewinkel+Copyright : © 2023-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/PackageTests.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Core.RunTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/RunTests.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} {-| Module : HsLua.Core.RunTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/TraceTests.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Core.TraceTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/UnsafeTests.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Core.UnsafeTests-Copyright : © 2021-2024 Albert Krewinkel+Copyright : © 2021-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
test/HsLua/Core/UserdataTests.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Core.UserdataTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/Core/WarnTests.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Core.WarnTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/HsLua/CoreTests.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} {-| Module : HsLua.CoreTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/Test/HsLua/Arbitrary.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} {-| Module : HsLua.Core.RunTests-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>
test/Test/Tasty/HsLua.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module : Test.Tasty.HsLua-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org> Stability : beta
test/test-hslua-core.hs view
@@ -1,6 +1,6 @@ {-| Module : Main-Copyright : © 2017-2024 Albert Krewinkel+Copyright : © 2017-2026 Albert Krewinkel License : MIT Maintainer : Albert Krewinkel <tarleb@hslua.org>