There are three alternative ways to achieve this:
- In your example you could instead use when, which only takes a “then” argument which can be a list of forms:
(when (a) (something) (something_2) (something_3))
- You could group together the three forms with progn:
(if (a) (progn (something) (something_2) (something_3)))
This option would also let you also supply an “else” argument:
(if (a) (progn (something) (something_2) (something_3))
(otherwise_something))
- Finally, you could use the more flexible cond clause, which lets you have any number of tests, each followed by one or more forms:
(cond
((a) (something) (something_2) (something_3))
(t (otherwise_something)))