greg
2021-6-3 11:39:45

Glad to hear! Even so, I just added an issue to change this to be more resilient. https://github.com/greghendershott/racket-mode/issues/540


dan.ml.901
2021-6-3 19:02:59

What is the reader doing here? > (1 . 2 . 3) reads equal to (list 2 1 3)


samth
2021-6-3 19:05:38

@dan.ml.901 documented here: https://docs.racket-lang.org/reference/reader.html?q=read#%28part._parse-pair%29 but the idea is to make (1 . + . 2) work


laurent.orseau
2021-6-3 19:08:19

And the most common case is for -> in contracts if I’m not mistaken


dan.ml.901
2021-6-3 19:10:40

Ah, that purpose is what I missed from those docs


samth
2021-6-3 19:17:45

That and (a . < . b)