Skip to content

Commit 2ba4ad1

Browse files
resyntax-ci[bot]rfindler
authored andcommitted
Fix 1 occurrence of apply-flattening
The `apply` function accepts single arguments in addition to a trailing list argument.
1 parent d8204e8 commit 2ba4ad1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drracket-tool-lib/drracket/private/standalone-module-browser.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,8 @@
12731273
[(null? ms) (substring short-name 0 (min 2 (string-length short-name)))]
12741274
[else
12751275
(apply string-append
1276-
(cons (substring short-name 0 1) (map (λ (x) (substring x 1 2)) ms)))])])]
1276+
(substring short-name 0 1)
1277+
(map (λ (x) (substring x 1 2)) ms))])])]
12771278
[(long) word]
12781279
[(very-long) (string-append word ": " (format "~s" require-phases))]))
12791280
last-name]))

0 commit comments

Comments
 (0)