Tags: purescript-lua/purescript-lua-prelude
Tags
v7.3.0 FFI correctness fixes: Ord Boolean (Lua 5.1 boolean comparison), Show Number (NaN/Infinity/.0), Show String (quote + escape). See purescript-lua/purescript-lua purescript#66, purescript#65, purescript#50.
v7.2.2: fix Array Semigroup append (concatArray) Data.Semigroup.concatArray used table.concat(xs, ys), which joins xs's elements into a string with separator ys instead of concatenating two arrays. Array <> (and anything built on it, e.g. traverse over the Array applicative) was broken. Fixed to copy both arrays element-wise. (#4 by @Renegatto)
v7.2.1: Lua 5.1 FFI compatibility
- Bounded Char/Int and Show Char no longer rely on Lua 5.3 escapes
(\u{...}, \xNN) or math.maxinteger, which PUC Lua 5.1 mishandles.
- Fix showCharImpl (method on a number) and showArrayImpl (0-based read).
- Foreign comment moved out of the EuclideanRing return table so it links.
- scripts/build fails on codegen errors (set -euo pipefail).
PreviousNext