hslua v0.9.5 Release Notes

Release Date: 2018-04-10 // about 6 years ago
    • Provide Optional as a replacement for OrNil. Exports of the latter have been fixed.
    • ๐Ÿ‘€ Provide utility function raiseError: Its argument will be thrown as an error in Lua.
    • โž• Add modifyLuaError: The function lives in Foreign.Lua.Error and allows to alter error messages. This is most useful for amending errors with additional information.
    • ๐Ÿ›  Fixed a bug in toList which left a element on the stack if deserializing that element lead to an error. This also affected the FromLuaStack instance for lists.
    • ๐Ÿ›  Fixed a bug in pairsFromTable which left a key-value pair on the stack if either of them could not be read into the expected type. This also affected the FromLuaStack instance for Map.