hslua v1.1.1 Release Notes
Release Date: 2020-06-02 // almost 4 years ago-
๐ Released 2020-06-02
โ WARNING: This version does not conform to the PVP versioning policy, due to a unintended signature change of function
pushList
. It is recommended not to use this version.- ๐ New module Foreign.Lua.Push: provides functions which marshal and push Haskell values onto Lua's stack.
Most functions in Foreign.Lua.Types.Pushable are now defined using functions from this module.
- ๐ New module Foreign.Lua.Peek: provides functions which unmarshal
and retrieve Haskell values from Lua's stack. Contrary to
peek
from Foreign.Lua.Types.Peekable, the peeker functions in this module will never throw errors, but use anEither
type to signal retrieval failure.
The error type
PeekError
should not be considered final and will likely be subject to change in later versions.Module Foreign.Lua.Utf8: never throw errors when decoding UTF-8 strings. Invalid UTF-8 input bytes no longer cause exceptions, but are replaced with the Unicode replacement character U+FFFD.
๐ Fixed missing and faulty Haddock documentation.
๐ Fixed a bug which caused unnecessary use of strings to represent floating point numbers under certain configurations.