Ben Greenman

Results 158 comments of Ben Greenman

This seems like a related issue: if `self.parent` is optional, then I can't call a method on it (after a guard) because SP thinks I'm passing an optional value as...

@pnwamk re `1.` I don't think these changes affect dependent functions; looks like `tc-app-main.rkt` handles those (`DepFun?`) in a separate branch. BUT I think it would be safe to apply...

This program came up last year (on Discord?) and has exactly the same problem: `((get-foo a1) a1)` is checking and using `a1` is the same expression. ``` #lang typed/racket (provide...

If `pkg-build` doesn't report a name conflict, then my 2c is to go ahead and add `tau` to racket/math. A safe alternative would be to make a new module, like...

My 2c: * `table: end` should be an error (but reword the message be be true), and * there should be a special constructor (`empty-table()` ?) for saying yes, I...

I don't like this technique of overflowing the parser. I think it would be better to encode `+inf` and `-inf` as the JavaScript "properties" `Infinity` and `-Infinity`. Python does this:...

I like the keyword idea. How about going one step further, and passing an "illegal value converter" through a keyword argument? Something like `#:write-expr f` where `write-json` will call `f`...