laurent.orseau
2021-5-26 07:18:21

I would prefer something like (~seq name '-n nombre) .... Isn’t match non-deterministic already anyway?


thaenalpha
2021-5-26 13:21:27

@thaenalpha has joined the channel


hazel
2021-5-26 13:25:40

@arthertz you should just be able to add some raco command to shell.nix… i’ll have to try it later


massung
2021-5-26 15:14:29

I haven’t found any docs for this, but does Racket have any built-in support (x-platform) for making simple tooltray apps?


soegaard2
2021-5-26 16:00:54

I can’t recall seeing anything cross platform.


samth
2021-5-26 16:51:36

I don’t know that there’s a cross-platform concept of tooltray apps


sorawee
2021-5-26 17:59:07

Can anyone try the program:

#lang racket (struct a ()) Run the macro stepper on it (raco macro-stepper file.rkt), and then click “End”?

I got:

cairo_quartz_get_cg_context_with_clip: implementation not found; arguments: #<cpointer> context...: /Users/sorawee/projects/racket/racket/share/pkgs/draw-lib/racket/draw/private/emoji.rkt:159:7: draw-loop /Users/sorawee/projects/racket/racket/share/pkgs/draw-lib/racket/draw/private/dc.rkt:1457:4: do-text method in dc% very consistently.


soegaard2
2021-5-26 18:01:05

soegaard2
2021-5-26 18:01:18

Maybe it was removed from Cairo?


sorawee
2021-5-26 18:07:21

That looks like a bug, then. I will make an issue.


soegaard2
2021-5-26 18:08:29

It’s possible that Matthew has patched the Racket version of Cairo. https://hg.mozilla.org/mozilla-central/file/tip/gfx/cairo/native-clipping.patch



sorawee
2021-5-26 18:29:47

Weird. I did git pull; make, so everything should be up-to-date.


sorawee
2021-5-26 18:29:53

Can you reproduce the problem, though?


sorawee
2021-5-26 18:30:10

Note that you need to click “End” after the macro stepper dialog appears.


soegaard2
2021-5-26 18:30:28

I haven’t installed the latest release, and don’t have the time today.


soegaard2
2021-5-26 18:30:48

The patches doesn’t mention M1.


sorawee
2021-5-26 18:30:54

Gotcha, no worries!


sorawee
2021-5-26 18:40:27

Hmm. My libcairo.2.dylib was up-to-date already.


tonyg
2021-5-26 20:54:53

Hi all. Does anyone here have permission to redeploy the http://racket-lang.org\|racket-lang.org website? I’d like to see some of the recent merges-to-master go live…


hazel
2021-5-26 21:32:33

is there a sorted version of in-hash? I’d like to use a for-loop to iterate over a hash, sorted by the keys hash-map has the try-order? argument.


rokitna
2021-5-26 22:23:12

~seq for match would be wonderful


asumu
2021-5-26 22:32:35

re: ^ my PPA message above, can someone with mod rights check the mailing list queue to see if my announcement got stuck? It’s been a day and hasn’t made it through.


samth
2021-5-26 23:44:56

Fixed now


asumu
2021-5-26 23:52:59

Thanks!


douglas.lange
2021-5-27 00:22:29

@douglas.lange has joined the channel


crystal
2021-5-27 00:33:01

@crystal has joined the channel


notjack
2021-5-27 06:50:19

there’s no sorted hash structure yet, unfortunately


notjack
2021-5-27 06:50:39

I’m working on making one but you can also use the ddict package


notjack
2021-5-27 06:51:17

which gives you hashes that are insertion-ordered, so if you sort before inserting you’ll get a sorted hash