Skip to content
Browse files

refactoring

  • Loading branch information...
1 parent 8b31e33 commit c762f7eafffd960366dbca0a2e5d34731e563504 @scutdavy committed
Showing with 1 addition and 5 deletions.
  1. +1 −5 objc/Nu.m
View
6 objc/Nu.m
@@ -713,13 +713,9 @@ - (id) evalWithArguments:(id)cdr context:(NSMutableDictionary *)calling_context
}
// evaluate the body of the block with the saved context (implicit progn)
id value = [NSNull NU_null];
- id cursor = _body;
@try
{
- while (cursor && (cursor != [NSNull NU_null])) {
- value = [[cursor car] evalWithContext:evaluation_context];
- cursor = [cursor cdr];
- }
+ value = [_body evalAsPrognInContext:evaluation_context];
}
@catch (NuReturnException *exception) {
value = [exception value];

0 comments on commit c762f7e

Please sign in to comment.
Something went wrong with that request. Please try again.