[racket-dev] Problem with Values type constructor
Hi, Although the typed racket documentation mentions Values as a type constructor, it does not work: Welcome to DrRacket, version 6.1.0.3--2014-07-18(e827817/a) [3m]. Language: typed/racket; memory limit: 1024 MB. > (define (foo) : (Values Number Number) (values 1 2)) . Type Checker: parse error in type; type name `Values' is unbound in: Values . Type Checker: wrong number of values: expected 1 but got 2 in: (values 1 2) . Type Checker: Summary: 2 errors encountered in: Values (values 1 2) OTOH, the lowercase values seems to work as a type constructor. > (define (bar) : (values Number Number) (values 1 2)) > bar - : (-> (values Number Number)) # Moreover, there is some kind of confusion between values and Values: > (values 1 2) - : (values Integer Integer) [more precisely: (Values One Positive-Byte)] 1 2 Am I missing something? Best, António. _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.1
I've pushed a change that makes it work even with the Firefox layout issue and requested it be merged to 6.1. We can change my status to "All tests pass" now. Neil On 07/23/2014 08:23 AM, Sam Tobin-Hochstadt wrote: The margin-notes appear to work correctly on Chrome but wrong on Firefox on my Linux system. Sam On Wed, Jul 23, 2014 at 8:13 AM, Robby Findler wrote: Believe it or not I actually tried that. Screenshot: http://www.eecs.northwestern.edu/~robby/tmp/x.png (that's Chome and Safari). Robby On Wed, Jul 23, 2014 at 7:02 AM, Neil Toronto wrote: They only do it on my system if the browser window is too narrow. And "overlap" is the wrong word: the margin notes are completely inside the blue boxes. BTW, #2 is fixed now. I added an "#:unscaled? #t" somewhere; Matthew did the actual work. :D Neil On 07/22/2014 07:20 PM, Robby Findler wrote: FWIW, I don't see the overlap in Chrome (on a mac) or in Safari. Robby On Tue, Jul 22, 2014 at 2:01 PM, Neil Toronto wrote: On 07/17/2014 08:03 PM, Ryan Culpepper wrote: * Neil Toronto - Plot Tests - Images Tests - Inspect icons - Math tests All tests pass, but two things need fixing: some margin notes in the math documentation, and `compiled-bitmap` and `compiled-bitmap-list` when they embed compressed bitmaps. 1. There's an issue with margin notes overlapping blue boxes in some of the math documentation. I haven't looked into it deeply yet, so I'm not sure what causes it or what should be done to fix it. You can see it in the pre-release docs here: http://pre-release.racket-lang.org/doc/math/matrix_basic.html 2. The `compiled-bitmap` and `compiled-bitmap-list` macros yield bitmaps that are the right size but with a half-size image tucked into the upper-left corner, when the bitmaps are stored in the module as JPEGs. (This doesn't affect DrRacket's icons because they're all stored as PNGs.) I suspect there's a missing "#:unscaled? #t" or two. Neil ⊥ _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] pkg account creator not working?
I've just confirmed that it works with a bunch of different email sources. If you could directly email me JS logs from your attempts, with the time, we could try to figure it out. Jay On Mon, Jul 21, 2014 at 12:39 PM, J. Ian Johnson wrote: > I've tried both now. No go. > -Ian > - Original Message - > From: "Leif Andersen" > To: "J. Ian Johnson" > Cc: "dev" > Sent: Monday, July 21, 2014 12:35:06 PM GMT -05:00 US/Canada Eastern > Subject: Re: [racket-dev] pkg account creator not working? > > What web browser are you using? > > I was only able to make an account using Chromium. (Firefox didn't work for > me.) > > ~Leif Andersen > > > On Mon, Jul 21, 2014 at 12:27 PM, J. Ian Johnson wrote: >> I tried to make an account of pkgs.racket-lang.org, and it never emailed me >> a code. Is something in the pipeline not working? >> -Ian >> _ >> Racket Developers list: >> http://lists.racket-lang.org/dev > _ > Racket Developers list: > http://lists.racket-lang.org/dev -- Jay McCarthy http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.1
The margin-notes appear to work correctly on Chrome but wrong on Firefox on my Linux system. Sam On Wed, Jul 23, 2014 at 8:13 AM, Robby Findler wrote: > Believe it or not I actually tried that. Screenshot: > http://www.eecs.northwestern.edu/~robby/tmp/x.png (that's Chome and > Safari). > > Robby > > On Wed, Jul 23, 2014 at 7:02 AM, Neil Toronto wrote: >> They only do it on my system if the browser window is too narrow. And >> "overlap" is the wrong word: the margin notes are completely inside the blue >> boxes. >> >> BTW, #2 is fixed now. I added an "#:unscaled? #t" somewhere; Matthew did the >> actual work. :D >> >> Neil >> >> >> On 07/22/2014 07:20 PM, Robby Findler wrote: >>> >>> FWIW, I don't see the overlap in Chrome (on a mac) or in Safari. >>> >>> Robby >>> >>> On Tue, Jul 22, 2014 at 2:01 PM, Neil Toronto >>> wrote: On 07/17/2014 08:03 PM, Ryan Culpepper wrote: > > > * Neil Toronto > - Plot Tests > - Images Tests > - Inspect icons > - Math tests All tests pass, but two things need fixing: some margin notes in the math documentation, and `compiled-bitmap` and `compiled-bitmap-list` when they embed compressed bitmaps. 1. There's an issue with margin notes overlapping blue boxes in some of the math documentation. I haven't looked into it deeply yet, so I'm not sure what causes it or what should be done to fix it. You can see it in the pre-release docs here: http://pre-release.racket-lang.org/doc/math/matrix_basic.html 2. The `compiled-bitmap` and `compiled-bitmap-list` macros yield bitmaps that are the right size but with a half-size image tucked into the upper-left corner, when the bitmaps are stored in the module as JPEGs. (This doesn't affect DrRacket's icons because they're all stored as PNGs.) I suspect there's a missing "#:unscaled? #t" or two. Neil ⊥ _ Racket Developers list: http://lists.racket-lang.org/dev >> >> > > _ > Racket Developers list: > http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.1
Believe it or not I actually tried that. Screenshot: http://www.eecs.northwestern.edu/~robby/tmp/x.png (that's Chome and Safari). Robby On Wed, Jul 23, 2014 at 7:02 AM, Neil Toronto wrote: > They only do it on my system if the browser window is too narrow. And > "overlap" is the wrong word: the margin notes are completely inside the blue > boxes. > > BTW, #2 is fixed now. I added an "#:unscaled? #t" somewhere; Matthew did the > actual work. :D > > Neil > > > On 07/22/2014 07:20 PM, Robby Findler wrote: >> >> FWIW, I don't see the overlap in Chrome (on a mac) or in Safari. >> >> Robby >> >> On Tue, Jul 22, 2014 at 2:01 PM, Neil Toronto >> wrote: >>> >>> On 07/17/2014 08:03 PM, Ryan Culpepper wrote: * Neil Toronto - Plot Tests - Images Tests - Inspect icons - Math tests >>> >>> >>> >>> All tests pass, but two things need fixing: some margin notes in the math >>> documentation, and `compiled-bitmap` and `compiled-bitmap-list` when they >>> embed compressed bitmaps. >>> >>> 1. There's an issue with margin notes overlapping blue boxes in some of >>> the >>> math documentation. I haven't looked into it deeply yet, so I'm not sure >>> what causes it or what should be done to fix it. You can see it in the >>> pre-release docs here: >>> >>> http://pre-release.racket-lang.org/doc/math/matrix_basic.html >>> >>> 2. The `compiled-bitmap` and `compiled-bitmap-list` macros yield bitmaps >>> that are the right size but with a half-size image tucked into the >>> upper-left corner, when the bitmaps are stored in the module as JPEGs. >>> (This >>> doesn't affect DrRacket's icons because they're all stored as PNGs.) I >>> suspect there's a missing "#:unscaled? #t" or two. >>> >>> Neil ⊥ >>> >>> >>> _ >>> Racket Developers list: >>> http://lists.racket-lang.org/dev > > _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.1
They only do it on my system if the browser window is too narrow. And "overlap" is the wrong word: the margin notes are completely inside the blue boxes. BTW, #2 is fixed now. I added an "#:unscaled? #t" somewhere; Matthew did the actual work. :D Neil On 07/22/2014 07:20 PM, Robby Findler wrote: FWIW, I don't see the overlap in Chrome (on a mac) or in Safari. Robby On Tue, Jul 22, 2014 at 2:01 PM, Neil Toronto wrote: On 07/17/2014 08:03 PM, Ryan Culpepper wrote: * Neil Toronto - Plot Tests - Images Tests - Inspect icons - Math tests All tests pass, but two things need fixing: some margin notes in the math documentation, and `compiled-bitmap` and `compiled-bitmap-list` when they embed compressed bitmaps. 1. There's an issue with margin notes overlapping blue boxes in some of the math documentation. I haven't looked into it deeply yet, so I'm not sure what causes it or what should be done to fix it. You can see it in the pre-release docs here: http://pre-release.racket-lang.org/doc/math/matrix_basic.html 2. The `compiled-bitmap` and `compiled-bitmap-list` macros yield bitmaps that are the right size but with a half-size image tucked into the upper-left corner, when the bitmaps are stored in the module as JPEGs. (This doesn't affect DrRacket's icons because they're all stored as PNGs.) I suspect there's a missing "#:unscaled? #t" or two. Neil ⊥ _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev