Solution to an exercise from make-event-example-2
See make-event-example-2 for a worked example using make-event, concluding with an exercise. Here we present a solution to that
exercise. It assumes that we have evaluated the definitions of
(defmacro progn+-errors (&rest lst) (declare (xargs :guard (and (true-listp lst) lst))) `(progn (progn+ ,@lst) (make-event (list 'value-triple (list 'quote (reverse (f-get-global 'progn+-errors state)))))))