-
Notifications
You must be signed in to change notification settings - Fork 0
/
scaffold.ss
26 lines (19 loc) · 1.12 KB
/
scaffold.ss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#lang scheme
(require "base.ss")
(require "report.ss"
"scaffold/interfaces.ss"
"scaffold/default-mixins.ss")
; Procedures -------------------------------------
(define (scaffold-report-element entity
[report-class% (default-snooze-report-crudl-mixin snooze-report%)]
#:crudl-mixin [crudl-mixin (default-crudl-mixin entity)]
#:rdl-mixin [rdl-mixin (default-review+delete+list-mixin)]
#:list-mixin [list-mixin (default-list-mixin)]
#:crudl-report-mixin [crudl-report-mixin (default-crudl-report-mixin)]
#:report-mixin [report-mixin (default-report-mixin report-class%)])
(lambda (element)
(report-mixin (crudl-report-mixin (list-mixin (rdl-mixin (crudl-mixin element)))))))
; Provides ---------------------------------------
(provide (all-defined-out)
(all-from-out "scaffold/default-mixins.ss")
(all-from-out "scaffold/interfaces.ss"))