File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 515
515
[con]
516
516
; ; adapted from Scheme 48
517
517
(let [type (cond
518
- (error? con) :error
519
- (assertion-violation? con) :assertion-violation
520
- (violation? con) :violation
521
- (serious-condition? con) :serious
522
- :else 'unknown)
518
+ (error? con) :error
519
+ (assertion-violation? con) :assertion-violation
520
+ (violation? con) :violation
521
+ (serious-condition? con) :serious
522
+ :else 'unknown)
523
523
524
- who (and (who-condition? con)
524
+ who (and (who-condition? con)
525
525
(condition-who con))
526
526
527
- message (and (message-condition? con)
527
+ message (and (message-condition? con)
528
528
(condition-message con))
529
529
530
- stuff (if (irritants-condition? con)
530
+ stuff (if (irritants-condition? con)
531
531
(condition-irritants con)
532
532
[])
533
533
539
539
(delete-first
540
540
(partial condition-component-of-condition-type? &message)
541
541
(delete-first
542
- (partial condition-component-of-condition-type? &who)
542
+ (partial condition-component-of-condition-type? &who)
543
543
(delete-first
544
544
(partial condition-component-of-condition-type? &irritants)
545
545
(condition-components con)))))]
You can’t perform that action at this time.
0 commit comments