sschwarzer
2021-3-9 11:51:10

@sorawee Thank you! For whatever reason, I saw your replies only now. I’ll look into your suggestions.


laurent.orseau
2021-3-9 12:54:55

I’m trying to create a new package on http://pkgd.racket-lang.org\|pkgd.racket-lang.org but each time I click on ‘save’ it just reloads the page with all fields empty. The package doesn’t seem to be created. @jeapostrophe maybe?


spdegabrielle
2021-3-9 13:00:02

I think @tonyg but he isn’t on slack right now



massung
2021-3-9 13:24:08

R-Cade (https://r-cade.io/) v. 0.5 has been released! Not a lot of updates, but good ones.


spdegabrielle
2021-3-9 13:40:40

Racket news and/or racketfest?


samth
2021-3-9 14:55:29

It is all working now


capfredf
2021-3-9 16:21:43

@greg just out of curiosity, given how racket-backend-server runs, is it feasible to make racket-mode tramp-aware?


greg
2021-3-9 17:58:30

I don’t know. The back end expects to be running on the same machine as the source files, and get paths that work locally. As a start: 1. Can you give racket-program a value that works to run the back end remotely, connecting stdin/stdout/stderr. 2. Can you supply functions for the pair of filename translation functions I added to support a certain use case with Window Subsystem for Linux? (e.g. to translate between TRAMP and local paths). If the answers are yes and yes, then I think you would be able to… discover what other hurdles I’m not thinking of yet? :slightly_smiling_face:


greg
2021-3-9 17:59:55

capfredf
2021-3-9 18:33:19

Thanks for the information. I’ll give a try


notjack
2021-3-9 21:58:16

Is there a @racketlangname[] scribble form similar to @racketmodname[]? I’d like See also @racketlangname[foo] to render like See also #lang foo where #lang and foo are both clickable (and the former takes you to https://docs.racket-lang.org/guide/Module_Syntax.html#%28part._hash-lang%29)


sorawee
2021-3-9 22:04:18

@racket[@#,hash-lang[] @#,racketmodname[foo]]


sorawee
2021-3-9 22:05:43

I do think it’s worth making a proper abstraction, however.


sorawee
2021-3-9 22:06:00

And the name that you suggest sounds right to me.


notjack
2021-3-9 22:07:35

add to the list of Would Be Nice things


kellysmith12.21
2021-3-9 22:41:02

What would be the best way to go about implementing a check for alpha equivalence of two syntax objects?


notjack
2021-3-9 22:41:48

I think that’s implemented somewhere


sorawee
2021-3-9 22:42:50

That only makes sense for fully expanded syntax objects, right?


kellysmith12.21
2021-3-9 22:44:29

Yes, I just need alpha equivalence over core forms (albeit, I’m using custom core forms, but the idea should work, nonetheless).


kellysmith12.21
2021-3-10 02:07:21

I have a solution to my equivalence-checking problem (thanks @michael.ballantyne!)


kellysmith12.21
2021-3-10 03:57:36

What circumstances would cause syntax-transforming-with-lifts? to return #false when syntax-transforming? returns #true?


samth
2021-3-10 03:59:33

“Currently, (syntax-transforming?) implies (syntax-transforming-with-lifts?).”


kellysmith12.21
2021-3-10 04:00:13

I’ve managed to write code in which that implication is not true.


samth
2021-3-10 04:02:04

Sounds like a bug somewhere


kellysmith12.21
2021-3-10 04:07:04

Hm, it’s only the case that syntax-transforming-with-lifts? returns #false when I use the REPL.


kellysmith12.21
2021-3-10 04:12:17

That’s odd… things work as expected, if all the code is in a module.


kellysmith12.21
2021-3-10 04:12:52

However, it appears that the same phase1 code is being run three times.


kellysmith12.21
2021-3-10 04:17:22

That is incredibly bizarre: all code in a begin-for-syntax block is run three times, when a module is run.


samth
2021-3-10 04:18:50

Is this in DrRacket? I would normally expect it to be run twice.


kellysmith12.21
2021-3-10 04:19:06

Yes, it’s in DrRacket.


kellysmith12.21
2021-3-10 04:19:15

Why is the code being run more than once?


samth
2021-3-10 04:20:38

I forget all the details of this, but I think it’s partly compiling the code, running the code, setting up the REPL


kellysmith12.21
2021-3-10 04:25:42

ah


kellysmith12.21
2021-3-10 04:26:21

Oh, it’s not just the REPL.


kellysmith12.21
2021-3-10 04:27:01

I suppose I should clarify: the error that I’m trying to figure out is syntax-local-lift-expression: no lift target.