[racket-users] How to prepare and present new pict3d internal documentation?

2019-12-31 Thread Hendrik Boom
How to prepare and present new pict3d internal documentation? I'm busy working on new internal documentation of pict3d. I'd like some advice on how to prepare and present the resulting document (which isn't even a draft yet). Pict3D's various components look to be useful on their own, and I'd

[racket-users] DrRacket: No signature (blue) boxes for teaching languages?

2019-12-31 Thread Kennis Koldewyn
I'm running DrRacket 7.5 on MacOS 10.14 (Mojave), and I'm seeing the "signature boxes" (previously known as "blue boxes") as expected in the upper-right corner of the definitions window and the interactions window when using the Racket language. However, if I choose a teaching language

Re: [racket-users] How do I provide a name as both a match expander and contracted function?

2019-12-31 Thread Eric Griffis
Hi Jack, It can be done with make-rename-transformer. (define (foo? obj) (equal? obj foo-impl)) > (define foo-widget list) > > (define/contract (foo-impl _) (-> number? symbol?) 'a-foo) > > (define-match-expander foo > (syntax-parser [(_ widget) #'(? foo? (app foo-widget widget))]) >