From 1d63556121731eeb92c8ab4d3c1a24755078346c Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sat, 14 Mar 2020 20:20:32 -0700 Subject: [PATCH] Apparently, "foo && let(expr) bar" is no longer allowed. --- common.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.scad b/common.scad index 30c96fa..5d0a3c0 100644 --- a/common.scad +++ b/common.scad @@ -95,8 +95,8 @@ function is_nan(x) = (x!=x); // is_list_of([[1,[3,4]], [4,[5,6]]], [1,[2,3]]); // Returne true // is_list_of([[1,[3,INF]], [4,[5,6]]], [1,[2,3]]); // Returne false function is_list_of(list,pattern) = - is_list(list) && let(pattern = 0*pattern) + is_list(list) && []==[for(entry=list) if (entry*0 != pattern) entry]; diff --git a/version.scad b/version.scad index 82723e1..694c07d 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,189]; +BOSL_VERSION = [2,0,190]; // Section: BOSL Library Version Functions