Skip to content

Commit e7ec233

Browse files
committed
Fixed formatting in timeline.rkt
1 parent 79834d1 commit e7ec233

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

src/reports/timeline.rkt

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -349,18 +349,20 @@
349349
`((dt "Explanations")
350350
(dd (details
351351
(summary "Click to see full explanations table")
352-
(table ((class "times"))
353-
(thead (tr (th "Operator") (th "Subexpression") (th "Explanation") (th "Count") (th "Locations")))
354-
,@(append*
355-
(for/list ([rec (in-list (sort explanations > #:key fourth))])
356-
(match-define (list op expr expl cnt mcnt flows locations) rec)
357-
358-
(append (list `(tr (td (code ,(~a op)))
359-
(td (code ,(~a expr)))
360-
(td (b ,(~a expl)))
361-
(td ,(~a cnt))
362-
(td ,(~a mcnt))
363-
(td (code ,(~a locations))))
352+
(table
353+
((class "times"))
354+
(thead
355+
(tr (th "Operator") (th "Subexpression") (th "Explanation") (th "Count") (th "Locations")))
356+
,@(append*
357+
(for/list ([rec (in-list (sort explanations > #:key fourth))])
358+
(match-define (list op expr expl cnt mcnt flows locations) rec)
359+
360+
(append (list `(tr (td (code ,(~a op)))
361+
(td (code ,(~a expr)))
362+
(td (b ,(~a expl)))
363+
(td ,(~a cnt))
364+
(td ,(~a mcnt))
365+
(td (code ,(~a locations))))
364366
(for/list ([flow (in-list (or flows '()))])
365367
(match-define (list ex type v) flow)
366368
`(tr (td "") (td (code ,(~a ex))) (td ,type) (td ,(~a v)))))))))))))

0 commit comments

Comments
 (0)