Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Zambyte

4 days ago

I count two: true and void. This becomes obvious in languages that have consistent application syntax like Lisp, which would write this as

    (if true '())

Or if you wanted to capture the exact same semantics (rather than returning a null value to the continuation of the if)

    (if true (values))

Now it's obvious that if takes two (or three) arguments :)

0 comments

Zambyte

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities