hylang / hy

A dialect of Lisp that's embedded in Python
http://hylang.org
Other
5.14k stars 372 forks source link

is it intentional if requires three inputs #2572

Closed driftsignal closed 7 months ago

driftsignal commented 7 months ago

I'm used to if aborting with out the else statement. Using hy 0.28.0 and hy generates an error without the else clause.

(if a b c)

works but

(if a b)

generates an error for me

Kodiologist commented 7 months ago

Yes, as of #2240.