[racket] bug in package migration?

2014-05-17 Thread Ryan Davis
I upgraded to 6.0.1 and migrated my installed packages (via the gui), but the doco for them is all gone. It's all the stuff in ~/Library/Racket/snapshot. Looks like the generic top level stuff is there, and no packages. The top level local doco page has an entry "Racket Generic Graph Library" a

[racket] python implementation available?

2014-05-17 Thread John Clements
In your ELS paper, you report on a pair of implementations of python in Racket. Is that code available somewhere? I can’t seem to find it on either PLaneT or pkg.racket-lang.org, or on … what might(?) be your web page. Thanks! John Clements Racket Users list: http://

Re: [racket] Behaviour of gen:custom-write method

2014-05-17 Thread Jens Axel Søgaard
Hi Hamish, I find this confusing too. It seems that the pretty printer calls the different handlers in order to detect cycles. If one turns of the pretty printer I get two calls instead of one. I am not exactly sure, why the pretty printer needs to this. The code in question: https://github.com

[racket] Behaviour of gen:custom-write method

2014-05-17 Thread Hamish Ivey-Law
Dear Racket-users I am trying to understand the behaviour of the `gen:custom-write` method. What I find confusing is that the `write-proc` function is called twice for explicit calls to `write`, `display` or `print` and three times when display happens in the (x)repl. For example: -> (struct thi

Re: [racket] "error: degrees->complex: 360.0"

2014-05-17 Thread Sean Kanaley
What's wrong with the user parameterizing it like this? To save you from having to read the whole thing, it randomly makes digits that belong to either the integer or fractional portion where the user chooses the max number of digits to generate. ;ms = "max sig fig count", rs = "rand sig fig coun