[racket-users] 6.2 regression in running tests?

2015-07-14 Thread Ryan Davis
I'm tired and not thinking straight, but we just finished running the schemer gauntlet and I decided to dip my toes into the 6.2 release. I can't get it to run my tests and I need external validation that it's not me doing something stupid. git clone https://github.com/searbsg/little-schemer

Re: [racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Tim Brown
Marc, Thanks. I’ll look at that. Tim On 14/07/15 15:46, Marc Burns wrote: Hi Tim, I wanted the same thing a few months ago. I couldn’t find a nice way to modify `db', so I wrote a small C library that links with libpq and some FFI bindings. This was probably not the right thing to do.

Re: [racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Marc Burns
Hi Tim, I wanted the same thing a few months ago. I couldn’t find a nice way to modify `db', so I wrote a small C library that links with libpq and some FFI bindings. This was probably not the right thing to do. http://www.convextech.ca/~m4burns/pqnotify/

[racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Tim Brown
Folks, I have an application that would I would like to react immediately to changes in a PostgreSQL database. I would like to use a combination of TRIGGERs and LISTEN/NOTIFY to achieve this. I am connecting to my database using: (define (NH . a) (printf NOTIFICATION: ~s~% a)) (define pgc

Re: [racket-users] get the content of an editor% with formattings.

2015-07-14 Thread Matthew Flatt
At Mon, 13 Jul 2015 17:58:36 +0200, mazert wrote: I have a text% inside an editor-canvas% object, and I write some text then I apply to it a blue color for example. When i want to get the text with get-text method, i only get the text without formatings. Is there a way to get the text with

[racket-users] sub-range-binders

2015-07-14 Thread Jens Axel Søgaard
Hi All, I am experimenting with the sub-range-binders syntax property. Given this program: (define symb? symbol?) (define-no? symb?) symb I want to use DrRacket's renaming facility to rename the symb? in the second line to sym?. I expect to get this program: (define sym?

Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Sam Tobin-Hochstadt
This appears to be a bug in the inliner, which appears in HEAD as well. This program is sufficient to reproduce: #lang racket (define (Y3 outer) (define ((call f) x) ((f f) x)) ((lambda (f) (f f)) call)) I wasn't able to make this any smaller -- in particular, the `outer` parameter is

Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Gustavo Massaccesi
I reduced it a little, it's a variation of the old ((lambda (x) (x x)) (lambda (x) (x x))) but there must be a problem in the inlining fuel. In my example, the ´dup´ definition is not necessary, but it makes it more clear. It can be copied by hand to the application point. I wrapped the

Re: [racket-users] TeX- and LaTeX-inspired keybindings

2015-07-14 Thread Robby Findler
It isn't set up for that but if you want to add a few that's fine. Robby On Tuesday, July 14, 2015, Prabhakar Ragde plra...@uwaterloo.ca wrote: Is there a simple way to extend the list of these and/or provide synonyms? (DrRacket documentation, section 3.3.8.) I would like to, for example, be

[racket-users] TeX- and LaTeX-inspired keybindings

2015-07-14 Thread Prabhakar Ragde
Is there a simple way to extend the list of these and/or provide synonyms? (DrRacket documentation, section 3.3.8.) I would like to, for example, be able to type \and, or at least \land, rather than \wedge. Thanks. --PR -- You received this message because you are subscribed to the Google

Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Gustavo Massaccesi
Replacing the line 1758 of optimize.c - if ((info-inline_fuel 0) info-has_nonleaf !noapp) + if ((info-inline_fuel = 0) info-has_nonleaf !noapp) make the problem disappear, but I still don't understand why (dup rep) is the only combination that creates a problem. I also want to think

[racket-users] new dependency on scheme-lib for build of rsound?

2015-07-14 Thread 'John Clements' via users-redirect
This is in the “very unimportant” category, but I see that as of today, running setup-plt … er … raco setup informs me that raco setup: undeclared dependency detected raco setup: for package: rsound raco setup: on package for build: raco setup:scheme-lib” It’s perfectly easy to add

Re: [racket-users] new dependency on scheme-lib for build of rsound?

2015-07-14 Thread Sam Tobin-Hochstadt
Right above that in the `raco setup` output, you'll see some output which tells you exactly what is missing. Here's what it looks like for one for mflatt's pkgs: http://pkg-build.racket-lang.org/server/built/deps/uu-cs5510.txt Sam On Tue, Jul 14, 2015 at 1:48 PM, 'John Clements' via