FYI merged this style guide change today

31 views
Skip to first unread message

'John Clements' via dev-redirect

unread,
Feb 23, 2020, 12:43:25 PM2/23/20
to dev
I’m erring on the side of commit and git ‘er done by merging this PR today, adding a small bit of text to the style guide. The following paste from the web discards leading spaces, apologies:

***
In addition, every pair of expressions on a line should have at least one
space between the two, even if they’re separated by parentheses.

@compare[
@racketmod[#:file
@tt{good}
racket

(define (f x g)
[(< x 3) (g (g 3))])
]
@filebox[@tt{bad}
@codeblock{#lang racket

(define(f x g)
[(< x 3)(g(g 3))])
}]
]

***

https://github.com/racket/racket/pull/3049

Reply all
Reply to author
Forward
0 new messages