Transducers for Racket

Hi,

i make available public a package for Racket : SRFI 171 Transducers.

I'm NOT THE AUTHOR (i had contacted him by mail many years ago with no answer) of the code of Transducers. I have just ported the code (3 years ago , very few changes) to Racket from Guile and packaged it in the Racket system package :

It was not public, but as i saw some interest in transducers (in the Qi project for example) i made it available public.

If someone want to clone it in his own repository (Racket package requires to have a github account with public repository) i will be glad to be discharged of that. I had tested transducers for Guile and Racket in the hope of speeding up some code many years ago but did not really get significant results.
I even forget what are transducers about :sweat_smile:.

Damien

2 Likes

One nit: you can create Racket packages without GitHub. It's just convenient.

I do wonder whether the package server supports other forges already (SourceHut and others came up recently in the Discord)?

I also have a Racket version of SRFI-171 in my extra-srfi-libs package fwiw. Includes support for a couple of extra Racket datatypes.

1 Like

by default it seems to be proposed only github

it seems there is also transducers in this package:

Perhaps I misremembered; I thought the PLT server would accept any package URLs that worked à la the docs.

You can specify anything that the docs indicate (that's what the docs are about). There is no restriction to github.

perheaps we misunderstand what about we talk,
i mean when i'm connected to https://pkgs.racket-lang.org/
i only have those options : github and simple URL (i forget to mention this but i do not know how simple URL works) ,see screenshot :

That says "Git repository" (not github) and the entire text field is editable.

1 Like

ah yes, when editing one can change it to gitlab for example, but i haven't such an account.

That one's mine, yeah. Always happy to see more interest in transducers.

it was perheaps not already transducer libray for Racket:
i just made some test with transducers to optimize code few years ago but i no more use it,it is now commented in code:

It was a port from a Guile Scheme code to Racket code and as the original transducers code was for guile hosted on sourcehut (there is an automatic process to clone it to github and i was not sure i could have clone it and host it on sourcehut for racket packager) if i remember well and the original author was asking for porting it to racket as he had no skill for that and i needed a transducer package for racket so i ported it. It was quite easy as i knew a bit how the racket package system worked.But i keeped the code private on github many years.

I see there is some download on github since i had made it public:

that is strange because the easy way to install it is from racket package system.

And the more important part of downloads should be from racket package.

But i did not know any way for an user to have any statistic on download on the racket package system , this could be a good idea to have such a feature for Racket package. I mean that at least the creator of a package could know how many download of his library has happened each day.
I have a few packages for Racket but i only know the number of download via github, only administrator of the site of Racket system packager can know that....

You can change it to anything you want, you don't need to use gitlab. How do you host the code you want to make into a package?

all is already good.all my code i want to share for Racket are already interconnected between github and Racket-package.