1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +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>;
function _assoc_lookup(array, key) =
let(idx = search([key], array)[0])
array[idx][1];
array[search([key], array)[0]][1];
// It doesn't use recursion to avoid recursion error.
function _join(str_lt) =