Re: [racket-users] Struct initialization?

2018-03-13 Thread Philip McGrath
I've written an experimental macro `structure` that tries to make it convenient to write custom wrappers for the constructor and the match expander that use the name of the struct: http://docs.racket-lang.org/adjutor/Experimental.html#%28form._%28%28lib._adjutor%2Fmain..rkt%29._structure%29%29 If

[racket-users] Output Port Shenanigans

2018-03-13 Thread Lehi Toskin
Hello, everyone! I'm trying to get an output port to display text to both the error port and a text% object every time there's an error or an `eprintf` is called. Now, I have already accomplished this by using `make-output-port`, but I had decided to try and use `open-output-text-editor`

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
It worked! Thanks for pointing me in the right direction, Robby! -- /c On Tuesday, March 13, 2018 at 9:39:42 PM UTC+8, Claes Wallin wrote: > > Looks like the clue is that (find-relevant-directories (list key) > 'all-available) bit, where key is 'framework:color-schemes. On my > installed

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Robby Findler
In my DrRacket (built from git), I see: > (find-relevant-directories '(framework:color-schemes) 'all-available) '(#) The problem may be that the getinfo cache is not getting populated properly. That happens as part of `raco setup` (when run with no arguments, but probably there are other ways to

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
Looks like the clue is that (find-relevant-directories (list key) 'all-available) bit, where key is 'framework:color-schemes. On my installed and working drracket, surprisingly (find-relevant-directories 'framework:color-schemes 'all-available) evaluates to '(). Anyway, the only info.rkt that

Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Robby Findler
That error message comes from this code: https://github.com/racket/drracket/blob/master/drracket/scribblings/drracket/interface-essentials.scrbl#L786-L826 I'm not sure what is going wrong there, but if you have a running DrRacket elsewhere, you should be able to evaluate that code and put some

[racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
In my experiments to build nix derivations of racket packages, I'm now trying to build racket-doc and all its dependencies in one big bunch, kind of what the full racket build does. I'm getting this: > interface-essentials.scrbl: could not find "Modern" style That's in