Re: [racket-dev] bug in compiler ext dependencies?

2013-06-11 Thread Matthew Flatt
I've pushed your repair - thanks! I think I found (and fixed) similar problems with `require' and deleted files. At Mon, 10 Jun 2013 09:48:42 +0200, Tobias Hammer wrote: Hi, i think i found a bug in the handling of external dependencies (via register-external-file) in compiler/cm.

[racket-dev] REPO: Treat FF, LS and PS as line separators

2013-06-11 Thread Richard Hopkins
I've been working on treating FF, LS, and PS as line separators as recommended by the Unicode spec. I believe it's now ready for review and would appreciate any comments. In short the commits * make (read-line) and friends such as (in-lines) allow FF, LS and PS as separators; * make

Re: [racket-dev] hex decoding?

2013-06-11 Thread David Vanderson
Thank you Stephen and Tony for your examples. I found the following private function in db/private/mysql/connection.rkt: (define (hex-string-bytes s) (define (hex-digit-int c) (let ([c (char-integer c)]) (cond [(= (char-integer #\0) c (char-integer #\9)) (- c

Re: [racket-dev] hex decoding?

2013-06-11 Thread David Vanderson
On 06/11/2013 04:33 PM, Matthias Felleisen wrote: db/private/mysql/connection.rkt does not export the function, otherwise you could. I don't understand this. I'd like to make the function available to users somewhere - are you saying that's bad? On Jun 11, 2013, at 4:26 PM, David

Re: [racket-dev] hex decoding?

2013-06-11 Thread Matthias Felleisen
Sorry all I am saying the creator of db/private/mysql/connection.rkt didn't anticipate your needs and kept the function private. If you want to submit a pull request to move this function to db or db/base (including an appropriate provide), please do so. On Jun 11, 2013, at 4:41 PM,

Re: [racket-dev] hex decoding?

2013-06-11 Thread Robby Findler
Yes, I think file/sha1 is the right place. Thanks! Robby On Tue, Jun 11, 2013 at 3:26 PM, David Vanderson david.vander...@gmail.comwrote: Thank you Stephen and Tony for your examples. I found the following private function in db/private/mysql/connection.**rkt: (define (hex-string-bytes