36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
(map resolve-module-path
(list tags-html.rkt
snippets-html.rkt
dust.rkt
crystalize.rkt))))
(case (current-poly-target)
[(html) (spell-of-summoning!)])
;; Macro for defining tag functions that automatically branch based on the
;; current output format and the list of poly-targets in the setup module.
;; Use this macro when you know you will need keyword arguments.
;;
(define-syntax (poly-branch-kwargs-tag stx)
(syntax-parse stx
|
|
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
(map resolve-module-path
(list tags-html.rkt
snippets-html.rkt
dust.rkt
crystalize.rkt))))
(case (current-poly-target)
[(html) (init-cache-db!)])
;; Macro for defining tag functions that automatically branch based on the
;; current output format and the list of poly-targets in the setup module.
;; Use this macro when you know you will need keyword arguments.
;;
(define-syntax (poly-branch-kwargs-tag stx)
(syntax-parse stx
|