Not that I want to play parenthesis golf with you...
(defun fact (n)
(loop for i from n downto 1
for x = n then (* x i)
(maximize is definitely a bit of a hack - should really be finally (return x) but that'd be another pair of parens)
finally (return x)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.