soegaard2
2021-10-13 10:04:35

Did it work?


greg
2021-10-13 14:54:17

@popa.bogdanp I tried updating to use Bogdanp/setup-racket@c5de9e1f1ca76d654b87c16d02a918dad393e687 since you haven’t cut a release yet — but zero complaints about no release yet! Instead what I wanted to point out is that when variant isn’t specified for current it seems to default to BC — not to CS like it does for stable or versions >= 8.0? (I’m avoiding specifying variant because I test against 6.9 and like the behavior where it defaults to BC for that.) https://github.com/greghendershott/racket-mode/runs/3883794396?check_suite_focus=true


greg
2021-10-13 15:01:24

In other words if variant defaults to CS on versions of Racket >= 8.0, I’d expect it to for current because the snapshot builds are always a fairly new version. :slightly_smiling_face:


greg
2021-10-13 15:02:43

(At least that’s what I was hoping to rely on for the YAML to be simpler, but if it’s awkward for you to change that I can try to rework it on my end.)


popa.bogdanp
2021-10-13 15:58:23

That sounds like a bug. I’ll try to push a fix either tonight or tomorrow morning.


popa.bogdanp
2021-10-13 16:20:38

That is now fixed in v1.6.1 . Thanks for reporting the problem!


joel
2021-10-13 17:24:20

A while back someone posted an example having to do with generating Scribble documentation (like defproc forms) from function contracts. Am I misremembering?


greg
2021-10-13 17:33:47

I’m not sure but I have an example of a define/doc macro https://github.com/greghendershott/frog/search?q=define%2Fdoc that defines a function, uses contract expressions, generates src doc, and optionally takes code snippets that are both Scribble examples and tests.


greg
2021-10-13 17:34:29

ISTR reading about someone else doing something like this, and instead of some code in private/ making it a package you could use.


greg
2021-10-13 17:34:57

I think Matthew had a talk not too long ago with a similar example, maybe at a Clojure conf?


joel
2021-10-13 21:34:17

I think define/doc was it? Thanks!


niko
2021-10-14 00:48:24

I want to sort and deduplicate a list of symbols…how do I do it :slightly_smiling_face:


niko
2021-10-14 00:48:49

The sort function needs a comparator


niko
2021-10-14 00:49:18

oh, there is symbol<?


sorawee
2021-10-14 00:51:22

And there’s remove-duplicates