[racket-users] Re: Do I need to explicitly enable readline support for the REPL?

2021-03-12 Thread Tim Lee
Is it possible that the documentation is outdated? According to https://docs.racket-lang.org/readline/index.html#%28part._.Normal_.Use_of_.Readline%29: > You can also put (require readline) in your "~/.racketrc", so that Racket > automatically loads Readline support in interactive mode. Is

Re: [racket-users] Re: key combos at the command line

2021-03-12 Thread James Platt
Thanks for the suggestions. I had not thought about using "terminal" as a search term since I was expecting to find something that would implement keyboard shortcuts regardless of whether you are using the command line (Terminal in Mac and Linux or CMD in Windows) or not. It doesn't look

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-12 Thread Sorawee Porncharoenwase
> > There is probably a solution to this problem. I'm just not seeing it yet. > Yeah, syntax parameters are not really relevant here. A way to make rename-in work is to define-syntax the “token” to a dummy syntax transformer, and change your macro to recognize the token using ~literal. Here’s an

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-12 Thread Roger Keays
On Fri, Mar 12, 2021 at 04:31:07AM -0800, schle...@gmail.com wrote: > I am not sure about the technical details, but would it be possible to rename > those identifiers with?: (require (rename-in fluent [→ ~>] [→→ ~~>])) > I think if you define those arrows as syntax parameters they could be

[racket-users] syntax-parse ~literal vs #:literals

2021-03-12 Thread Roger Keays
According to the docs for syntax-parse/#:literals [1], "syntax-parse requires all literals to have a binding", and "the syntax-patterns are interpreted as if each occurrence of pattern-id were replaced with the following pattern: (~literal literal-id #:phase phase-expr)" So, this error makes

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-12 Thread schle...@gmail.com
I am not sure about the technical details, but would it be possible to rename those identifiers with?: (require (rename-in fluent [→ ~>] [→→ ~~>])) I think if you define those arrows as syntax parameters they could be renamed, but I don't know whether that is the "right" way to do it in

[racket-users] Re: key combos at the command line

2021-03-12 Thread schle...@gmail.com
There is also the possibility to do these other things outside of your terminal application. If you are on linux you could just ctrl-z to send your terminal app to the background (suspend it) and get back to your normal terminal execute some rsync command or something to send your file, "jobs"

[racket-users] Re: key combos at the command line

2021-03-12 Thread schle...@gmail.com
I don't really understand what you want to do exactly. I think mostly you have to implement it yourself, possibly by using something like https://docs.racket-lang.org/charterm/index.html or maybe https://docs.racket-lang.org/lux-charterm/index.html