Closed robb closed 10 years ago
Consider methods that operate only on id<NSFastEnumeration> such as ASTAll
id<NSFastEnumeration>
ASTAll
ASTAll(@{ @"key": @"value" }, someTest);
This will actually evaluate @"key" rather than @"value", which is probably more desired. However, if we add
@"key"
@"value"
BOOL ASTAll(NSDictionary *dict, BOOL(^block)(id value));
later, this may lead to some nasty surprises. Better to pre-empt that now and add dictionary versions that call the existing ones with allValues.
allValues
Affects
ASTAny
ASTGroupBy
ASTIndexBy
ASTMin
ASTMax
ASTPluck
ASTReduce
Consider methods that operate only on
id<NSFastEnumeration>
such asASTAll
This will actually evaluate
@"key"
rather than@"value"
, which is probably more desired. However, if we addlater, this may lead to some nasty surprises. Better to pre-empt that now and add dictionary versions that call the existing ones with
allValues
.Affects
ASTAll
ASTAny
ASTGroupBy
ASTIndexBy
ASTMin
ASTMax
ASTPluck
ASTReduce