olleicua / hcl

Hot Cocoa Lisp
GNU General Public License v3.0
34 stars 4 forks source link

Add unless function #6

Closed olleicua closed 11 years ago

olleicua commented 11 years ago

unless should be the inverse of when:

HCL:

(unless (published?)
   (perish))

JavaScript:

(! published_question_() && (function() { return perish(); }).call(this))
olleicua commented 11 years ago

Add until as well