Re:Maybe adding generics to Go is about syntax after all
by AnaniasAnanas on Tuesday September 04, 2018 @11:32AM
(#17909720)
Or "if" could be a special form so that you can just write
(if (> x 3) (printf a) (printf b))
[ Parent
| on HN ]
Re:Maybe adding generics to Go is about syntax after all
by erik_seaberg on Tuesday September 04, 2018 @01:26PM
(#17910896)
WHEN takes an implicit PROGN like that (so does UNLESS). IF can't because it needs to delimit the then-form from the else-form somehow.