![]() | ![]() | ![]() | printv | ![]() |
|
| [Macro] |
Purpose
Assist debugging by printing forms and the results of
evaluating them to *trace-output*
Package :gbbopen-tools (home package is
:module-manager
Module :module-manager
Arguments and values
| forms | An implicit progn | |
| results | The values returned by evaluating the last form |
Returns
The values returned by evaluating the last form.
Description
Evaluates forms, printing the form and the
result values of each evaluation to *trace-output*
See also
object-address
Examples
> (printv (list 1 2) (list 3 4) '"A string"
"Return multiple values:" (values 5 6))
;; (list 1 2) => (1 2)
;; (list 3 4) => (3 4)
;; '"A string" => "A string"
;; Return multiple values:
;; (values 5 6) => 5; 6
5
6
> (printv *package* (object-address *package* 't))
;; *package* => #<The GBBOPEN-USER package>
;; (object-address *package* 't) => "71b32f5a"
"71b32f5a"
>
Note
This variable is defined in the :module-manager
The GBBopen Project
![]() | ![]() | ![]() | printv | ![]() |