Proposal: upper-case?, lower-case? and title-case?

Pondering the philosophy behind the language

Proposal: upper-case?, lower-case? and title-case?

Postby Kazimir Majorinc » Fri Feb 04, 2011 1:58 pm

Not a big deal, but upper-case?, lower-case? and title-case? are consistent with other predicates, and low hanging opportunity for slightly shorter and faster code. It might be that many persistent Newlispers miss these, although only occasionally. More generally, maybe some other single variable functions (like unique, sort) deserve their predicates defined as f|->(= x (f x)) .
Kazimir Majorinc
 
Posts: 388
Joined: Thu May 08, 2008 1:24 am
Location: Croatia

Return to Whither newLISP?

Who is online

Users browsing this forum: No registered users and 1 guest

cron