My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 47: Need builtin predicate that tests attributes up the stack
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  gtempacc...@yahoo.com


 
Project Member Reported by gtempacc...@yahoo.com, Dec 11, 2009
See {.Debug?} which is already a default predicate

Suggesting {.attr debug?}   {.attr isAdmin?} 

Or the other idea is just to make attributes live in the *same namespace*
as predicates:

{.debug?}

{.isAdmin?}

At first this seems confusing, because you could make a typo like
{.isAAAdmin?} and it would return false.  But that's a problem with {.attr
isAdmin} too (if isAdmin is missing, then it will return False)



Powered by Google Project Hosting