Make sure it's at the end of the `raco setup` command line, and set
the executable name to "raco" instead of "raco setup" so that the `-l`
flag is effectively implied.
When files passed to the default application-file handler cannot be delivered
because no frame is active or the frame does not accept files, then retry
when the active frame changes in the future (in addition to when the
application-file handler itself is changed).
This adjustment should fix a long-standing problem where files are
not delivered to DrRacket on Mac OS X.
specifically:
- make <menukey>-9 always go to the last tab
(following chrome, as suggested by Jens Axel)
- make the <menukey>-1 thru <menukey>-9 menu items
always be present in the menu, even when there aren't
tabs, so that the shortcuts always appear taken
(and so that cmd-4 never inserts a 4 into your buffer)
No need to limit ourselves to x86.
Regardless of architecture, sun_path is always 108 bytes long on Linux.
Signed-off-by: Jan Dvořák <mordae@anilinux.org>
Improves tests/typed-racket/succeed/new-metrics.rkt by about 33% overall runtime.
Major changes include:
- Handling memoization entirely inside the `subtype*` function.
- Remembering only previously seen pairs of types when one of them
might be a recursive type (such as Mu or a structure).
Thanks to Ryan Newtown for this this idea, which enables the
previous change as well.
- Doing as much as possible without touching parameters.
(Unfortunately, not as much as I hoped was possible here).
- Replacing uses of => in `match` with #:when (written for this purpose).
- Significant improvement to the `Type-key` system so that it is
useful much more often.
- Use of unsafe operations.
- Minor optimizations to a few other operations.
This commit definitely takes the position that
"beautiful" code is less important than reasonable
error messages; better if the code were refactored
so the names flow through it more gracefully