Re: [racket-dev] Why is current-module-name-resolver taking so much time?

2013-09-20 Thread Sam Tobin-Hochstadt
On Fri, Sep 20, 2013 at 3:48 PM, Sam Tobin-Hochstadt wrote: > I decided to look at why 'make' with a fully-built install takes a > long time, and got a surprising result. First, the 'link-all.rkt' > script takes about 17 seconds on my machine, almost all of it in > `pkg-install`. I then profiled

[racket-dev] Why is current-module-name-resolver taking so much time?

2013-09-20 Thread Sam Tobin-Hochstadt
I decided to look at why 'make' with a fully-built install takes a long time, and got a surprising result. First, the 'link-all.rkt' script takes about 17 seconds on my machine, almost all of it in `pkg-install`. I then profiled this, and got the surprising result that the majority of the time is

[racket-dev] Using `git submodule` vs. `git pull --ff-only upstream master`

2013-09-20 Thread Greg Hendershott
I build Racket while keeping my forked repo's `master` branch an exact, fast-forwardable copy of PLT's remote upstream `master`. [1] This has worked fine building Racket on Linux, and continues to do so. But on OS X, I need to follow these instructions from INSTALL.TXT, wrt the pkg re-org: >>> O

[racket-dev] Recompiling on "wrong version for compiled code"

2013-09-20 Thread Tony Garnock-Jones
Hi all, Is there some reason the compiler can't either (a) ignore or (b) replace the outdated .zos when it comes across a situation like the following? compiled/html-utils_rkt.zo::0: read (compiled): wrong version for compiled code compiled version: 5.90.0.5 expected version: 5.90.0.9 context...:

Re: [racket-dev] Is there a way to print out all inferred types for a typed racket program?

2013-09-20 Thread Eric Dobson
No it is not easy. It should all be there in the expanded output. TR stores the type of an expression in a hashtable on the side, see https://github.com/plt/racket/blob/master/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/types/type-table.rkt#L34. So if you did #lang racket (require racke

[racket-dev] Is there a way to print out all inferred types for a typed racket program?

2013-09-20 Thread John Smith
I'm essentially looking for a dump of the typed AST of a given typed racket program for use in an undergraduate research project. Is there an easy way to get this information? _ Racket Developers list: http://lists.racket-lang.org/dev