I don't think that there is a specific rationale, no. I agree with you
that it looks better. If you wanted to add it and get stuck, let us
know and we can help point you in the direction of the relevant code.

Robby


On Sun, Feb 7, 2016 at 1:39 PM, gfb <g...@cs.toronto.edu> wrote:
> The documentation for 'send*' shows an indentation style that is not 
> available, but that I've often wanted for some "Lambda-like Keywords", e.g. 
> 'lambda' and 'match':
>
> (send* edit (begin-edit-sequence)
>             (insert "Hello")
>             (insert #\newline)
>             (end-edit-sequence))
>
> https://docs.racket-lang.org/reference/ivaraccess.html#%28form._%28%28lib._racket%2Fprivate%2Fclass-internal..rkt%29._send*%29%29
>
> "Reindent All" produces:
>
> (send* edit (begin-edit-sequence)
>   (insert "Hello")
>   (insert #\newline)
>   (end-edit-sequence))
>
> I know there is some push against rightward drift, so perhaps the preferred 
> style is:
>
> (send* edit
>   (begin-edit-sequence)
>   (insert "Hello")
>   (insert #\newline)
>   (end-edit-sequence))
>
> But I often find downward drift more of an impediment to understanding code. 
> Is there a particular rationale for not having a style supporting the one 
> shown first above? Also, are there other users who would like such a style as 
> well?
>
> Gary
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to