Coverage report: /home/ellis/comp/core/lib/organ/util.lisp
Kind | Covered | All | % |
expression | 20 | 21 | 95.2 |
branch | 2 | 2 | 100.0 |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; lib/organ/util.lisp --- Organ Utils
8
(defun read-org-lines (&optional stream)
10
(loop for l = (read-line stream nil)
14
(defun read-org-lines-from-string (str)
15
(with-input-from-string (s str) (read-org-lines s)))
17
;; (sym-to-org-class-name 'headline)
19
(defun sym-to-org-class-name (sym)
20
"Convert keyword or symbol SYM to a symbol which could designate an ORG- object type."
21
(intern (format nil "~:@(~a~a~)" "org-" sym) :organ)))