[racket-users] Re: Using ctags and vim with Racket

2018-09-13 Thread Alex Harsanyi
On Thursday, September 13, 2018 at 10:19:37 PM UTC+8, Marc Kaufmann wrote: > > Hi all, > > for the first time I wanted to use ctags today, which generates a bunch of > tags so that one can jump to and from function definitions and the like in > vim. However, the program generates no tags whatso

[racket-users] Using Racket behind proxy

2018-09-13 Thread bmitchell33
Hello, I would love to experiment with and potentially use Racket at work, but I am currently unable to use the package manager (raco) behind a proxy. 1. Is there any advice for configuring the Racket ecosystem for being used behind a proxy? 2. Does Racket respect the "http_proxy", "h

[racket-users] Historical mailing list archives [fast.cs.utah.edu]

2018-09-13 Thread 'Paulo Matos' via Racket Users
Hi, Just a quick question with regards to old mailing list archives: up to 2002, did we only have one mailing list? These are the archives I could find: https://www.cs.utah.edu/plt/mailarch/ Was there anything else back then? Also the link above says: After June 2002: http://list.cs.brown.e

[racket-users] Using ctags and vim with Racket

2018-09-13 Thread Marc Kaufmann
Hi all, for the first time I wanted to use ctags today, which generates a bunch of tags so that one can jump to and from function definitions and the like in vim. However, the program generates no tags whatsoever for Racket, which wasn't too surprising. I am using the vim-racket plugin. Does anyo

Re: [racket-users] Distributing application with run-time configuration

2018-09-13 Thread 'Paulo Matos' via Racket Users
OK, I sat down and re-read: https://docs.racket-lang.org/guide/phases.html Then I noticed I made a stupid mistake in my first attempt. I didn't need to provide the binding at different levels, I needed only to require it at different levels. So doing (require s10/arch-choice (for-syntax s

Re: [racket-users] Distributing application with run-time configuration

2018-09-13 Thread 'Paulo Matos' via Racket Users
On 12/09/2018 16:37, Matthew Flatt wrote: > As you > say, you could have a macro expand to the result of `(getenv "ARCH")` > to pin it down at compile time, but you'll need to import that macro > into two phases, since the right-hand side of > `define-runtime-module-path-index` is implicitly use

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Matthias Felleisen
Add (provide f) to get > f procedure > On Sep 13, 2018, at 7:16 AM, Jon Kleiser wrote: > > Sorry, but I'm not quite happy yet. ;-) > When I get the ">" prompt, the definitions made in my hello.rkt seems to be > gone. I get "cannot reference an identifier before its definition". How

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
I think I found the answer: Use (provide . . .). torsdag 13. september 2018 13.16.15 UTC+2 skrev Jon Kleiser følgende: > > Sorry, but I'm not quite happy yet. ;-) > When I get the ">" prompt, the definitions made in my hello.rkt seems to > be gone. I get "cannot reference an identifier before its

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Sorry, but I'm not quite happy yet. ;-) When I get the ">" prompt, the definitions made in my hello.rkt seems to be gone. I get "cannot reference an identifier before its definition". How can I avoid that definitions and data get lost? torsdag 13. september 2018 13.03.42 UTC+2 skrev Jon Kleiser

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Works like a charm. Thanks! Maybe that "21.1.1 Interactive Mode" chapter should mention that "-it" solution? torsdag 13. september 2018 12.58.57 UTC+2 skrev Matthias Felleisen følgende: > > > $ racket -it foo.bar > > > > On Sep 13, 2018, at 4:19 AM, Jon Kleiser > wrote: > > Hi, > > I would like

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Matthias Felleisen
$ racket -it foo.bar > On Sep 13, 2018, at 4:19 AM, Jon Kleiser wrote: > > Hi, > > I would like to run some Racket programs in the macOS Terminal (racket > foo.rkt bar1 bar2), and keep staying in the Racket REPL when my code has > completed. Is that possible? > > /Jon > > -- > You rece

[racket-users] Re: Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
I have found some info here: https://docs.racket-lang.org/guide/racket.html#%28part._start-interactive-mode%29 However, I haven't reached my goal yet. If I do this racket -t hello.rkt -i then my hello.rkt is executed, and I end with a ">" prompt, but trying a command like (exit) at that point is

[racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Hi, I would like to run some Racket programs in the macOS Terminal (racket foo.rkt bar1 bar2), and keep staying in the Racket REPL when my code has completed. Is that possible? /Jon -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscr