me1
2018-3-27 08:12:50

Is it hard to make condition map to cond and construct map to cons?


soegaard2
2018-3-27 10:20:38

@me1 (define-syntax condition (make-rename-transformer #’cond))


soegaard2
2018-3-27 10:20:41

voila!


pocmatos
2018-3-27 12:18:28

Does anyone know how to (in emacs) with emacs-mode (maybe this comes from paredit or smartparens) highlight the current parenthesized region?


pocmatos
2018-3-27 12:18:34

@greg ^?


greg
2018-3-27 12:21:23

@pocmatos I haven’t tried this recently but https://melpa.org/#/highlight-parentheses


pocmatos
2018-3-27 12:24:12

@greg awesome!


pocmatos
2018-3-27 12:24:14

thanks


dmitryhertz
2018-3-27 12:32:31

rainbow-delimiters-mode is also good choice. )


dmitryhertz
2018-3-27 12:33:13

By the way, are there similar plugins for DrRacket?


jerome.martin.dev
2018-3-27 12:37:06

The nearest feature I can think of in DrRacket is to go to “Preferences > Colors > Background > Parenthesis color scheme” and select “Shades of grey”.


jerome.martin.dev
2018-3-27 12:37:34

But it’s not rainbowy enough :disappointed:


dmitryhertz
2018-3-27 12:40:21

@jerome.martin.dev it’s well enough! ) I’ve chosen the winter color scheme.


dmitryhertz
2018-3-27 12:42:10

It would be great to have something like this https://ericscrivner.me/wp-content/uploads/2015/06/rainbow-delimiters.png I already have it in Emacs, the mode was mentioned above.


jerome.martin.dev
2018-3-27 12:48:06

raco test -c tests/web-server > “raco test: collection not found” How am I supposed to run tests when I modify a raco package? I already ran raco pkg update --no-setup --catalog <https://pkgs.racket-lang.org> web-server and raco pkg update --clone web-server.


jerome.martin.dev
2018-3-27 12:56:18

@jeapostrophe How do I test the web-server package? I’m lost between the contribution tutorial, the files “all-web-server-tests.rkt” and “run-all-tests.rkt”… raco update --clone and all that fuss.


pocmatos
2018-3-27 13:16:30

@dmitryhertz i find rainbow delimiters quite distracting, at least with my theme — zenburn.


dmitryhertz
2018-3-27 13:19:40

I use solarized-dark


dmitryhertz
2018-3-27 13:19:49

jeapostrophe
2018-3-27 14:50:46

@jerome.martin.dev I do raco test -c tests/web-server — Is it possible that you don’t have web-server-test installed?


jerome.martin.dev
2018-3-27 15:17:19

@jeapostrophe Yes, I had to run raco install inside the web-server-test folder to make it work :slightly_smiling_face:


leif
2018-3-27 17:03:10

@stamourv @ben Okay, comparing start up times of today vs yesterday, yesterday was demonstrably slower.


leif
2018-3-27 17:03:50

is there any way to set the easter egg DrRacket uses at startup?


leif
2018-3-27 17:04:09

(Other than just setting the local date, which would probably work.)


blerner
2018-3-27 17:04:40

it seemed to me that this particular easter egg was animated, and maybe it just played the whole animation before continuing?


leif
2018-3-27 17:05:45

@blerner That is a possibility.


leif
2018-3-27 17:06:09

I remember @mbutterick’s spinning racket logo on weekends caused a similar slowdown. :confused:


ben
2018-3-27 18:17:35

maybe you can add a command line fiag, --no-holidays


leif
2018-3-27 19:54:35

That would be great. But the easter eggs are…err…well hidden.


leif
2018-3-27 19:55:11

@mflatt or @robby Do either of you remember where they’re hidden?


plotnus
2018-3-27 21:52:39

@plotnus has joined the channel