Coming from Lisp, it is tiresome inserting return statements at the end of each function. Should we change the behavior of Parenscript so that the last item in a function body is expected to be an expression and is returned?
I am in favor of the change, though it may introduce incompatibility with existing code.
An implementation:
(defscriptmacro fn (lambda-list &body body)
`(lambda ,lambda-list
,@(butlast body)
(return ,(first (last body)))))
Red