Re: [racket-dev] Pre-Release Checklist for v6.1

2014-07-21 Thread John Clements

On Jul 17, 2014, at 5:03 PM, Ryan Culpepper ry...@ccs.neu.edu wrote:
 
 * John Clements cleme...@brinckerhoff.org
  - Stepper Tests

Done.

  Updates:
  - Stepper Updates: update HISTORY
  (updates should show v6.1 as the most current version; email me
  to pick the changes when they're done, or tell me if there are no such
  changes.)

Done.

John

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] pkg account creator not working?

2014-07-21 Thread J. Ian Johnson
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


Re: [racket-dev] Help with build failed error message

2014-07-21 Thread Alexander D. Knauth
Ok it turns out I had done (syntax/loc stx #’template) instead of (syntax/loc 
stx template) and somehow that seems to have triggered some kind of infinite 
recursive loop or something.  

But I fixed it and got another error that makes no sense at all.

It seems like somehow a struct constructor is returning #f.  

raco setup: 0 making: pkgs/racket-test/tests/future
struct-type/sc: broke its contract
  promised: static-contract?
  produced: #f
  in: the range of
  (- any/c static-contract?)
  contract from: 
  
pkgs/typed-racket-lib/typed-racket/static-contracts/combinators/struct.rkt
  blaming: 
pkgs/typed-racket-lib/typed-racket/static-contracts/combinators/struct.rkt
   (assuming the contract is correct)
  at: 
pkgs/typed-racket-lib/typed-racket/static-contracts/combinators/struct.rkt:19.5
(lines 1217-1227 of https://travis-ci.org/AlexKnauth/racket/jobs/30418536)
Where struct-type/sc is defined like this in 
pkgs/typed-racket-lib/typed-racket/static-contracts/combinators/struct.rkt:
(struct struct-type/sc combinator ()
  #:transparent
  #:property prop:combinator-name struct-type/sc
  #:methods gen:sc
[(define (sc-map v f)
   (match v
 [(struct-type/sc args)
  (struct-type/sc (map (λ (a) (f a 'covariant)) args))]))
 (define (sc-traverse v f)
   (match v
 [(struct-type/sc args)
  (for-each (λ (a) (f a 'covariant)) args)
  (void)]))
 (define (sc-contract v f)
   (match v
 [(struct-type/sc args)
  #`(struct-type/c #f)]))
 (define (sc-constraints v f)
   (match v
 [(struct-type/sc args) (simple-contract-restrict 'chaperone)]))])

I have no idea what to do.  



On Jul 20, 2014, at 2:15 AM, Matthew Flatt mfl...@cs.utah.edu wrote:

 Killed means that the OS terminated the `racket/racket3m` process
 from the outside. For example, the process may have exceeded a
 memory-use limit.
 
 At Sat, 19 Jul 2014 20:25:24 -0400, Alexander D. Knauth wrote:
 I made a fork of the racket repo and committed some changes in a topic 
 branch, 
 but I got this:
 make[8]: Leaving directory 
 `/home/travis/build/AlexKnauth/racket/racket/src/build'
 make[7]: Leaving directory 
 `/home/travis/build/AlexKnauth/racket/racket/src/build'
 make[6]: Leaving directory 
 `/home/travis/build/AlexKnauth/racket/racket/src/build'
 racket/racket3m -X /home/travis/build/AlexKnauth/racket/racket/collects -G 
 /home/travis/build/AlexKnauth/racket/racket/etc -G 
 /home/travis/build/AlexKnauth/racket/build/config -N raco -l- setup  
 --no-user -j 2  
 raco setup: bootstrapping from source...
 Killed
 make[5]: *** [install-3m] Error 137
 make[5]: Leaving directory 
 `/home/travis/build/AlexKnauth/racket/racket/src/build'
 make[4]: *** [install] Error 2
 make[4]: Leaving directory 
 `/home/travis/build/AlexKnauth/racket/racket/src/build'
 make[3]: *** [base] Error 2
 make[3]: Leaving directory `/home/travis/build/AlexKnauth/racket'
 make[2]: *** [plain-in-place] Error 2
 make[2]: Leaving directory `/home/travis/build/AlexKnauth/racket'
 make[1]: *** [cpus-in-place] Error 2
 make[1]: Leaving directory `/home/travis/build/AlexKnauth/racket'
 make: *** [in-place] Error 2
 The command make CPUS=2 PKGS=racket-test db-test unstable-flonum-lib 
 net-test exited with 2.
 (lines 812-830 of https://travis-ci.org/AlexKnauth/racket/jobs/30368892)
 
 What does this mean?
 
 What does the “Killed” mean?
 And what is error 137?
 
 _
  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

2014-07-21 Thread Jon Rafkind
On 07/21/2014 02:05 AM, Matthew Flatt wrote:
 At Sun, 20 Jul 2014 22:37:36 -0700, Jon Rafkind wrote:
 On 07/17/2014 05:03 PM, Ryan Culpepper wrote:
 * Jon Rafkind rafk...@cs.utah.edu
   Release tests for (one of the) linux releases:
   - Test that the `racket' and `racket-textual' source releases
 compile fine (note that they're still called `plt' and `mz' at
 this stage).
   - Test that the binary installers for both work, try each one in
 both normal and unix-style installation modes. (just ubuntu)
   [Note: get the release candidates from the URL in this email. Use
the 'static table' link to see a list of all tar files available]
 Done, but I saw an error once during a build of 
 racket-minimal-6.0.900.900-src.tgz during 'make install'. I accidentally 
 destroyed the terminal and wasn't able to reproduce the error after two 
 additional tries, so I'm not sure what went wrong but it was something like

 raco: building scribblings/framework.rkt
   sqlite3: unable to read from database

 I'll try once or twice more to see if it happens again.
 A minimal Racket build would not include documentation or framework.
 Was something installed in user scope with a previous v6.0.900.900
 installation and maybe not removed before the Racket installation was
 itself removed?


Oh sorry, wrong copy/paste. I meant racket-6.0.900.900-src.tgz.

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] pkg account creator not working?

2014-07-21 Thread Leif Andersen
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 i...@ccs.neu.edu 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


Re: [racket-dev] pkg account creator not working?

2014-07-21 Thread J. Ian Johnson
I've tried both now. No go.
-Ian
- Original Message -
From: Leif Andersen l...@leifandersen.net
To: J. Ian Johnson i...@ccs.neu.edu
Cc: dev dev@racket-lang.org
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 i...@ccs.neu.edu 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


Re: [racket-dev] Pre-Release Checklist for v6.1

2014-07-21 Thread Vincent St-Amour
At Thu, 17 Jul 2014 20:03:12 -0400,
Ryan Culpepper wrote:
 * Sam Tobin-Hochstadt sa...@ccs.neu.edu,
Vincent St-Amour stamo...@ccs.neu.edu
   - Match Tests
   - Typed Racket Tests

Done.

   - Typed Racket Updates: update HISTORY
   (updates should show v6.1 as the most current version; email me
   to pick the changes when they're done, or tell me if there are no such
   changes.)

Sam, Asumu, Eric: what's new for this release?

Vincent
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] flatten-begin

2014-07-21 Thread Asumu Takikawa
On 2014-07-19 23:12:51 -0400, Asumu Takikawa wrote:
 This sounds like a nice solution and it would be fine for my use-case
 too. Anyone have any reasons against? (otherwise I can make the change)

I just realized that `flatten-begin` actually doesn't care if the form
starts with a `begin`. In other words, the following evalutes like this:

  (flatten-begin #'(a 1 2)) = (list #'2 #'3)

In which case the behavior of #:all? becomes a bit weird since it would
care about the head being a `begin` (otherwise it would collapse too
manay things).

Maybe the recursive flattener should be a different function after all?

Cheers,
Asumu
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.1

2014-07-21 Thread Asumu Takikawa
On 2014-07-21 16:14:27 -0400, Vincent St-Amour wrote:
 Sam, Asumu, Eric: what's new for this release?

This came up on IRC the other day. I think Eric was saying the main
changes were inference speedups, support for contracted functions, and
better keyword support.

Cheers,
Asumu
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.1

2014-07-21 Thread Vincent St-Amour
At Mon, 21 Jul 2014 16:24:24 -0400,
Asumu Takikawa wrote:
 
 On 2014-07-21 16:14:27 -0400, Vincent St-Amour wrote:
  Sam, Asumu, Eric: what's new for this release?
 
 This came up on IRC the other day. I think Eric was saying the main
 changes were inference speedups, support for contracted functions, and
 better keyword support.

Pushed as commit 5a12f8e77.

Thanks!

Vincent
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] flatten-begin

2014-07-21 Thread Robby Findler
Yes, I agree. I don't have a good suggestion for the name, tho. Sorry.

Robby

On Mon, Jul 21, 2014 at 3:19 PM, Asumu Takikawa as...@ccs.neu.edu wrote:
 On 2014-07-19 23:12:51 -0400, Asumu Takikawa wrote:
 This sounds like a nice solution and it would be fine for my use-case
 too. Anyone have any reasons against? (otherwise I can make the change)

 I just realized that `flatten-begin` actually doesn't care if the form
 starts with a `begin`. In other words, the following evalutes like this:

   (flatten-begin #'(a 1 2)) = (list #'2 #'3)

 In which case the behavior of #:all? becomes a bit weird since it would
 care about the head being a `begin` (otherwise it would collapse too
 manay things).

 Maybe the recursive flattener should be a different function after all?

 Cheers,
 Asumu
_
  Racket Developers list:
  http://lists.racket-lang.org/dev