Accepting request 322650 from devel:languages:haskell:lts

- update to 0.4.0
* pushstring and tostring now uses ByteString instead of [Char].
* StackValue [Char] instance is removed, StackValue ByteString is added.
* StackValue a => StackValue [a] instance is added. It pushes a Lua array to the stack. pushlist,
  islist and tolist functions are added.
* Type errors in Haskell functions now propagated differently. See the Scripting.Lua 
  documentation for detailed explanation. This should fix segfaults reported several times.
* lua_error function is removed, it's never safe to call in Haskell.
* Pkgconf-based setup removed. Cabal is now using extra-libraries to link with Lua.
* luajit flag is added to link hslua with LuaJIT.

OBS-URL: https://build.opensuse.org/request/show/322650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=11
This commit is contained in:
Ondřej Súkup 2015-08-20 06:26:49 +00:00 committed by Git OBS Bridge
parent c18518d971
commit f8fe83e340
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Aug 7 07:36:15 UTC 2015 - mimi.vx@gmail.com
- update to 0.4.0
* pushstring and tostring now uses ByteString instead of [Char].
* StackValue [Char] instance is removed, StackValue ByteString is added.
* StackValue a => StackValue [a] instance is added. It pushes a Lua array to the stack. pushlist,
islist and tolist functions are added.
* Type errors in Haskell functions now propagated differently. See the Scripting.Lua
documentation for detailed explanation. This should fix segfaults reported several times.
* lua_error function is removed, it's never safe to call in Haskell.
* Pkgconf-based setup removed. Cabal is now using extra-libraries to link with Lua.
* luajit flag is added to link hslua with LuaJIT.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 21 11:57:18 UTC 2015 - mimi.vx@gmail.com Tue Apr 21 11:57:18 UTC 2015 - mimi.vx@gmail.com

View File

@ -19,7 +19,7 @@
%global pkg_name hslua %global pkg_name hslua
Name: ghc-hslua Name: ghc-hslua
Version: 0.3.13 Version: 0.4.0
Release: 0 Release: 0
Summary: A Lua language interpreter embedding in Haskell Summary: A Lua language interpreter embedding in Haskell
License: MIT License: MIT

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e95774d21ac4378e799af4b8dce9068bfedd3109bf13b717d9ecb5817f86430a
size 128230

3
hslua-0.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77a865a3258656c2536c154d18ac38873a371685fde6ba03a3436f65f7bda050
size 129883