Ben Greenman

Results 126 comments of Ben Greenman

Normalizing "b l u e" to "blue" is ok with me, as long as old colors have the same behavior. I think #17 did that, and this PR is only...

If I'm putting similar plots on the same page, I like to have one legend off to the side. With a pict, I get a default legend that can be...

I think you get what you want by setting `plot-y-ticks` and `plot-y-far-ticks` to your own [`ticks`](http://docs.racket-lang.org/plot/ticks_and_transforms.html#%28def._%28%28lib._plot%2Fmain..rkt%29._ticks%29%29) values (with similar layout fields and different format fields). Here's an example --- let...

A simpler example: ``` #lang racket (require plot/pict pict racket/class) (define (make-plot) (parameterize ([line-width (* 3 (line-width))]) (plot-pict (function (lambda (x) x) #:color 'red) #:x-min 0 #:x-max 1 #:y-max 2...

Maybe. I'm not sure this slideshow wouldn't have to change to let `slideshow-latex` be printable.

How does `check-error` differ from `check-exn`? I tried a quick example and `check-exn` works how I'd expect: ``` #lang racket (module+ test (require rackunit) (check-exn exn:fail:contract? (lambda () (check-true (+...

I like @rmculpepper 's suggestions. - `:+1:` for `rackunit/meta`, because it distinguishes "RackUnit for the meta-tester" from "RackUnit for the normal user". - it's fine with me to add `rackunit/base`...

I still like the tree API - I don't mind losing `check-fail*` - RackUnit can test everything in the tree (so changing order only changes the orders of errors, not...

I think just normal messages separated by whitespace would be OK. Example: ``` -------------------- FAILURE name: check-equal? location: foo.rkt:4:0 actual: 1 expected: 0 name: check-equal? location: foo.rkt:5:0 actual: 1 expected:...

Can simplify 1 more step and only print `actual` 1 time? So `check-fail` prints one actual & multiple `expected`s