mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
format
This commit is contained in:
@@ -59,12 +59,10 @@ function hashset_del(set, elem, hash = df_hash, eq = df_eq) =
|
|||||||
slice(set, bidx + 1)
|
slice(set, bidx + 1)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
function _find(lt, elem, eq, leng, i = 0) =
|
function _find(lt, elem, eq, leng, i = 0) =
|
||||||
i == leng ? -1 :
|
i == leng ? -1 :
|
||||||
eq(lt[i], elem) ? i : _find(lt, elem, eq, leng, i + 1);
|
eq(lt[i], elem) ? i : _find(lt, elem, eq, leng, i + 1);
|
||||||
|
|
||||||
|
|
||||||
function hashset_list(set) = [
|
function hashset_list(set) = [
|
||||||
for(bucket = set)
|
for(bucket = set)
|
||||||
for(elem = bucket)
|
for(elem = bucket)
|
||||||
|
Reference in New Issue
Block a user