Rename viewname to view-name
* undone/main.scm (define-view): Looks nicer
This commit is contained in:
parent
271b33f910
commit
c5dac997f4
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
((_ name doc fmt fields fields* ...
|
||||
where predicate
|
||||
sort-by sort-predicate sort-field)
|
||||
(with-syntax ((viewname
|
||||
(with-syntax ((view-name
|
||||
(datum->syntax
|
||||
x (symbol-append (syntax->datum #'name) '-view)))
|
||||
(filtered-list
|
||||
|
@ -37,7 +37,7 @@
|
|||
#'(fields fields* ...))))
|
||||
todo-list)))
|
||||
#`(begin
|
||||
(define (viewname)
|
||||
(define (view-name)
|
||||
doc
|
||||
(for-each
|
||||
(lambda (item)
|
||||
|
@ -60,7 +60,7 @@
|
|||
#'filtered-list)))
|
||||
(set! view-list
|
||||
(append view-list
|
||||
(list (cons 'name viewname)))))))
|
||||
(list (cons 'name view-name)))))))
|
||||
((_ name doc fmt fields fields* ...
|
||||
sort-by sort-predicate sort-field)
|
||||
#'(define-view name doc fmt fields fields* ...
|
||||
|
|
Loading…
Reference in a new issue