Coverage report: /home/runner/work/geb/geb/src/specs/bitc-printer.lisp
Kind | Covered | All | % |
expression | 0 | 17 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
(in-package #:geb.bitc.spec)
3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4
;; Subst Constructor Printer
5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
;; we are going to be super lazy about this, just make a format
8
(defmacro easy-printer (class-name)
9
`(defmethod print-object ((obj ,class-name) stream)
12
(mapcar #'cdr (geb.mixins:to-pointwise-list obj))))))
14
(easy-printer compose)
16
(easy-printer parallel)
24
(defmethod print-object ((obj ident) stream)
25
(print-unreadable-object (obj stream :type nil :identity nil)
26
(format stream "IDENT")))