List rooted trees: Difference between revisions

m
→‎ES6: Javascript - adjusted a type signature comment
(→‎{{header|Javascript}}: Added an ES6 Javascript version)
m (→‎ES6: Javascript - adjusted a type signature comment)
Line 484:
);
 
// treeFromParentIndices :: Tree Int -> [Int] -> Tree Int
const treeFromParentIndices = pxs => {
const go = (tree, tplIP) =>
9,655

edits