Apparently, "foo && let(expr) bar" is no longer allowed.

This commit is contained in:
Revar Desmera 2020-03-14 20:20:32 -07:00
parent c001c6d8ae
commit 1d63556121
2 changed files with 2 additions and 2 deletions

View file

@ -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];

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,189];
BOSL_VERSION = [2,0,190];
// Section: BOSL Library Version Functions