[racket-users] Starting racket with at-exp

2020-03-02 Thread Faré
How may I start a racket command-line (or emacs subprocess) with the at-exp racket language? (or at-exp something else) The obvious racket -l 'at-exp racket' doesn't work. —♯ƒ • François-René ÐVB Rideau •Reflection• http://fare.tunes.org The universe isn't made of atoms, it's made of stories —

[racket-users] Implementation of paraeters

2020-03-02 Thread Hendrik Boom
How are parameters implemented. My conceptial model is an association list (like in the original Lisp 1.5 manuel) would suffice, but that can lead to long searches. What is actually done in Racket? -- hendrik -- You received this message because you are subscribed to the Google Groups

Re: [racket-users] Implementation of paraeters

2020-03-02 Thread Ryan Culpepper
A parameter object itself is essentially just a key. To get its value, you first look up the current parameterization in the current continuation's continuation-marks. The parameterization contains an immutable eq?-hash mapping parameter keys to thread cells. The parameter's value is the value of

Re: [racket-users] Today’s Easter egg?

2020-03-02 Thread Robby Findler
Yes. Racket was born in Texas, so it is an homage (not a political statement :) On Mon, Mar 2, 2020 at 2:26 PM Stephen De Gabrielle wrote: > > Hi, > > Is the star/lambda Easter egg something to do with independence? (Referencing > Texas March 2nd) > > S. > -- > > > -- > You received this

[racket-users] bad response from server

2020-03-02 Thread Hendrik Boom
When trying to u[dat catalog I get a message get-all-pkg-details-from-catalogs: bad response from server url: https://www.cs.utah.edu/plt/snapshots/20190720-93f4c9226b/catalog/pkgs-all?version=7.4.0.1 response: #f (for-loop . #(struct:srcloc # 299 2 11021 1759)) (for-loop .

Re: [racket-users] Starting racket with at-exp

2020-03-02 Thread Michael MacLeod
$ racket -i -l scribble/reader -e "(use-at-readtable)" -l your-lang-without-@-support should do the trick. For example, to start a REPL in typed/racket with @-reader support, you would use: $ racket -i -l scribble/reader -e "(use-at-readtable)" -l typed/racket > @+[2 3] - : Integer [more

Re: [racket-users] Starting racket with at-exp

2020-03-02 Thread Faré
On Mon, Mar 2, 2020 at 5:22 PM Michael MacLeod wrote: > > $ racket -i -l scribble/reader -e "(use-at-readtable)" -l > your-lang-without-@-support > > should do the trick. > Thanks. It works like a charm. But isn't a very nice recipe. Are there reasons why -l 'at-exp racket' sdhouln't be made to

Re: [racket-users] Starting racket with at-exp

2020-03-02 Thread Alexis King
The -l option loads a module path. As `racket --help` documents, `-l ` is equivalent to `-e '(require (lib ""))'`. Since (require (lib "at-exp racket")) won’t help you much, neither will `-l 'at-exp racket'`. I’m not totally sure why you thought `-l` was the right option here, but it doesn’t

Re: [racket-users] Starting racket with at-exp

2020-03-02 Thread Stephen De Gabrielle
I tried this but had no luck; Miriams-MBP:~ spdegabrielle$ cat start.rkt #lang at-exp racket/base (require racket/format) (displayln "try me") (~a "foo bar") @~a{foo bar} Miriams-MBP:~ spdegabrielle$ racket -t ~/start.rkt -i Welcome to Racket v7.6. try me "foo bar" "foo bar" > (~a

[racket-users] Re: Do you have Racket programs whose performance you care about?

2020-03-02 Thread Lukas Lazarek
That sounds like a great idea, though it's not our current aim. We do hope to eventually build a benchmark suite for the community, and that may enable improvement of profiling tools down the line. Lukas On Sunday, March 1, 2020 at 7:01:43 AM UTC-6, evdubs wrote: > > Is this perhaps something

Re: [racket-users] bad response from server

2020-03-02 Thread Matthew Flatt
A snapshot catalog only lasts for a limited time, and v7.4.0.1 was a very long time ago in snapshot terms. So, the short answer is to upgrade to a new snapshot --- or switch to a release, which doesn't time out. At Mon, 2 Mar 2020 14:46:25 -0500, Hendrik Boom wrote: > When trying to u[dat

[racket-users] Today’s Easter egg?

2020-03-02 Thread Stephen De Gabrielle
Hi, Is the star/lambda Easter egg something to do with independence? (Referencing Texas March 2nd) S. -- -- 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] Racket News - Issue 27

2020-03-02 Thread Paulo Matos
Hi! For the first time, I published RN and forgot to send an email the list straight away. My apologies for that - here's the email a few hours late. Issue 27 is here, enjoy! https://racket-news.com/2020/03/racket-news-issue-27.html -- Paulo Matos -- You received this message because you