4 ms·
`| ((Some (result))[@explicit_arity ]) -> Js.Array.forEach Js.log result` the explicit_arity being added in. I can't think of other examples at the moment.
by purity_resigns 8y ago
`| ((Some (result))[@explicit_arity ]) -> Js.Array.forEach Js.log result`
the explicit_arity being added in. I can't think of other examples at the moment.
- yawaramin 8y agoAs far as I understand, 'lossy' would mean information was lost, right? But here it looks like information has been added.
- purity_resigns 8y agoI agree with that definition. Maybe lossy is the wrong word, but the transforms historically had gotchas. PPX and what not. Especially when converting between Reason syntax version upgrades and the more stable OCaml syntax (locked to OCaml 4.2 because of bucklescript). That doesn't necessarily mean lossy, but just that knowing what refmt will error out on depending on the version of Reason the code was written to target vs. locked down ML.