commit 4c8ac8e021f27c30d446bef1c8a7136ea3b9965d
parent 71bd7ddae03682d8d8fcdfcd6f2637340174bd7f
Author: Leif Andersen <leif@leifandersen.net>
Date: Tue, 23 May 2017 14:22:39 -0400
Fix contract docs for departments in scribble/acmart.
(I placed the wrong contract in the docs. The correct one is the one
defined in the module.)
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/scribble-doc/scribblings/scribble/acmart.scrbl b/scribble-doc/scribblings/scribble/acmart.scrbl
@@ -146,7 +146,7 @@ screen version of the image links to the badge authority.
@defproc[(affiliation
[#:position position (or/c pre-content? #f) #f]
- [#:institution institution (or/c pre-content? institution? #f) #f]
+ [#:institution institution (listof (or/c pre-content? institution?)) '()]
[#:street-address street-address (or/c pre-content? #f) #f]
[#:city city (or/c pre-content? #f) #f]
[#:state state (or/c pre-content? #f) #f]
diff --git a/scribble-lib/scribble/acmart.rkt b/scribble-lib/scribble/acmart.rkt
@@ -289,7 +289,6 @@
(define (mk-inst name
#:department? [department? department?]
#:level [level level])
- (displayln department?)
(case department?
[(#f) (make-element (make-style "institution" command-props)
(decode-content name))]