Closed
Description
See playground
let x = [ "a" ]
let y = [ ...x]
generates
// Generated by ReScript, PLEASE EDIT WITH CARE
'use strict';
let Belt_Array = require("./stdlib/belt_Array.js");
let x = ["a"];
let y = Belt_Array.concatMany([x]);
exports.x = x;
exports.y = y;
/* y Not a pure module */
I would expect Belt
no longer be used for this. Given concatMany exists in Core.
With some pointers, I would be interested in taking a stab at this myself.
Metadata
Metadata
Assignees
Labels
No labels