tidy what the fixes wrote around existing helpers
written-type? matches the shapes instead of measuring them, array-form? and pub-form? replace their spelled-out copies, both test files share one fails-with?, and moved test comments are back above their groups.
This commit was merged in pull request #66.
This commit is contained in:
@@ -185,8 +185,7 @@
|
||||
(if (and (pair? v) (pair? (cdr v))) (field-types (second v)) (list)))
|
||||
(remove comment-form? variants)))
|
||||
(('ops type . methods)
|
||||
(append-map interface-types
|
||||
(filter (lambda (m) (and (pair? m) (eq? (car m) 'pub))) methods)))
|
||||
(append-map interface-types (filter pub-form? methods)))
|
||||
(('pub 'realize spec . methods)
|
||||
(append-map (lambda (m) (interface-types (cons 'pub m)))
|
||||
(remove comment-form? methods)))
|
||||
|
||||
Reference in New Issue
Block a user