1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-06 14:56:47 +02:00
This commit is contained in:
Justin Lin
2022-05-08 10:20:26 +08:00
parent 74411f32c3
commit 61a0ccc069

View File

@@ -1,8 +1,7 @@
use <../../util/rand.scad>; use <../../util/rand.scad>;
function _assoc_lookup(array, key) = function _assoc_lookup(array, key) =
let(idx = search([key], array)[0]) array[search([key], array)[0]][1];
array[idx][1];
// It doesn't use recursion to avoid recursion error. // It doesn't use recursion to avoid recursion error.
function _join(str_lt) = function _join(str_lt) =