
Here’s the definition of sequence-append

(define (sequence-append . l)
(if (null? l)
empty-stream
(if (andmap stream? l)
(apply stream-append l)
(apply in-sequences l))))

weird

why use in-sequences
?

at all, I mean

mhm; does raco
not support ssh:// git urls?

As far as I know it doesn’t. There’s a remotely related ticket ( https://github.com/racket/racket/issues/3747 ), which could probably be extended with a git+ssh
protocol identifier.

hey hi hello - I have a small charity announcement from this year’s European Lisp Symposium, is this channel a good place to post it?

If it’s Lisp related, that should be fine!

If you are calling for contributors and accept Racket you might also consider https://github.com/pmatos/racket-news/issues/new\|https://github.com/pmatos/racket-news/issues/new

Is there a way to get a fresh name in a redex judgement form?

[(types (var_0 T_0 (var_i int Γ)) exp T_r)
----------------------------------------------------------------------------------- "T-Mapper"
(atypes Γ (mapper (→ T_0 T_r) (func var_i var_0 exp)) (→ (countable c T_0) (countable c T_r)))] ; c is fresh

@robbert.gurdeepsingh You can use a where clause with unquote and variable-not-in

I found it worked well for Racket to launch a subprocess to run the Python part and just communicate in JSON over standard IO: https://bitbucket.org/digitalricoeur/pydrnlp/src/master/\|https://bitbucket.org/digitalricoeur/pydrnlp/src/master/

The Julia language achieves a tighter integration by using libpython via FFI, as I understand it. A downside is that buggy Python C extensions are now running in your main process’s address space.

That works, thanks @samth

OK, thanks; I’m actually not calling for contributors, but see the actual announcement post that I’ll make in a second

A message from this year’s European Lisp Symposium organizers:
During this year’s ELS, we will be selling prints and hosting an auction of the original of The Y Combinator Codex, a 42cm x 240cm calligraphy piece. All proceeds from this endeavour, sans printing and shipping costs, will be spread across several Lisp foundations - including SFC, which seems to collect money for Racket.
(Edit: crossposted to /r/Racket as well.)
There’s photos at https://www.reddit.com/r/LispMemes/comments/l5f4n9/the_y_combinator_codex_but_its_actually/ and a small-res scan:

@ronsider2 has joined the channel

I’m working on adding sorted collections to rebellion, including sorted sets, maps, range sets, and range maps. They’ll come in both mutable and (persistent) immutable flavors. Draft pull request here: https://github.com/jackfirth/rebellion/pull/501

Is there a way to use apply
on a Procedure
type in typed racket? My main issue is that the contract complains about arity, but I handle that above the cast
I tried to do. (cast f (-> Sexp * Sexp))
had a function that only took two arguments, I know that would be a compatible signature

Is there a simple way to set a timeout on a tcp-connect? Unlike a port, I don’t see any functions that return a synchronizable event so that I can use sync/timeout.

I guess I can spawn a thread to do the tcp-connect and do a sync/timeout on the thread. That wouldn’t be too bad.

The OS also times the connection out eventually, so I may just rely on that for now.

It would be nice to get some of these into the data collection (there’s already some mutable dictionary implementations there right now). I was actually planning to send a PR for an immutable ordered dictionary soon because I had the same need.

There’s the ddict and dset implementations already, which are useful in many of the same cases

There’s not a way to do this, because there’s no way to know what number of arguments the function actually expects

alright, I guess I can see why not, a bummer honestly but I could fix it with a union on all the functions I had to use.
Thanks for confirming!

In general it’s hard to do dynamic checks on functions

So it’s often better to choose a somewhat different architecture than a union of function types

I see.

yeah, this approach has been suggested before: https://groups.google.com/g/racket-users/c/ZYtXG8X28B8/m/_gnr1A3eSYcJ