Re: [racket] confusing behaviour of managed-compile-zo

2013-02-01 Thread Robby Findler
There was a related problem that Sam noticed a while back about how the same set of parameters (if not the same uses) leaked out into his program and the best I came up with was the advice to disable the automatic compilation in DrRacket (in the language dialog's "show details" section). Robby On

Re: [racket] Racket v5.3.2

2013-02-01 Thread Galler
So, more details would be welcome. I was wrong. Minor cycles are consuming ~110ms and recovering ~25MB, major cycles are consuming ~400ms and recovering 40-60MB. All is as it should be. Apologies. R./ Zack Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Beginners request for code review.

2013-02-01 Thread Piotr Klibert
I'm sorry for not responding until now - I read all the posts and am very, very grateful for all the great comments and advice I got. I had no time to do anything other than to read them though, I plan to take my time tomorrow to implement most of them and to answer to all the posts. For now I'd l

Re: [racket] Racket v5.3.2

2013-02-01 Thread Matthew Flatt
At Fri, 1 Feb 2013 22:22:13 + (UTC), Galler wrote: > I don't have hard data to share, but I think I'm now observing that minor > garbage collection cycles seem to take longer than the major cycles. (is that > even possible?) Possible, but surprising. We made changes to minor collection since v

Re: [racket] Racket v5.3.2

2013-02-01 Thread Galler
>> DrRacket's GUI is more responsive. Eli, Matt and Robby, Qualitative comments: I don't know if change occurred in v5.3.1 or v5.3.2 but DrRacket GUI is now materially more responsive when editing large racket source code files (~2500 lines). I thank you very much for the improvement. I recomp

Re: [racket] Racket access 4 Assemblies

2013-02-01 Thread Matthew Flatt
At Fri, 01 Feb 2013 16:44:43 +0100, herak...@gmx.de wrote: > Hello friends, > > I have a question. Is it possible to acces an assembly for example > Microsoft.SqlServer.Management.Smo.dll > > through racket? I imagine that something like (ffi-lib "C:/Program Files/Microsoft SQL Server/100/SDK/

Re: [racket] Racket v5.3.2

2013-02-01 Thread Joe Gilray
Hi Robby, I don't have DrRacket up right now, but I'll describe what I see in 5.3.1 and 5.3.2: If you have a long list say: (define aaa '(1 2 3 4 5 6 7 8 9 10 11 12 13 ... 1000)) In the variables pane of the debugger it will show *aaa* => (1 2 3 4 5 6 7 8 9 10 11 and the right hand side will b

Re: [racket] confusing behaviour of managed-compile-zo

2013-02-01 Thread Matthew Flatt
I think the issue is that DrRacket sets `use-compiled-file-paths' to include "compiled/drracket/errortrace", and the installation doesn't includes compiled files there, so CM tries to add them. In other words, there's a collision between your use of CM via `managed-compiled-zo' and a use already i

Re: [racket] Book parts in scribble

2013-02-01 Thread Grant Rettke
On Fri, Feb 1, 2013 at 12:43 PM, Matthew Flatt wrote: > Finally, there are now `scribble/book' and > `scribble/report' languages, Nice! Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Book parts in scribble

2013-02-01 Thread Matthew Flatt
I've added a 'grouper style property for parts, which makes a part like like a "part" in the sense of a book. #lang scribble/base @title{The Book} @section[#:style 'grouper]{First part} @subsection{First chapter} @subsection{Second chapter} @section[#:style 'grouper]{Second part} @subsec

Re: [racket] Racket v5.3.2

2013-02-01 Thread Matthew Flatt
At Fri, 01 Feb 2013 15:09:31 +0100, Marijn wrote: > On 01-02-13 05:20, Eli Barzilay wrote: > > Racket version 5.3.2 is now available from > > > > http://racket-lang.org/ > > > > * Documentation cross-reference information is stored in an > > SQLite3 database, which means that SQLite3 is required

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
Ryan, Thanks for the pointers. On 01/02/13 15:44, Ryan Culpepper wrote: On 02/01/2013 09:39 AM, Tim Brown wrote: I have an outstanding question about "unit-testing" syntactic extensions from a couple of weeks ago. What do the heavier users of syntaxes use to unit test their macros? Either co

[racket] Racket access 4 Assemblies

2013-02-01 Thread heraklea
Hello friends, I have a question. Is it possible to acces an assembly for example Microsoft.SqlServer.Management.Smo.dll through racket? Yours, Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Ryan Culpepper
On 02/01/2013 09:39 AM, Tim Brown wrote: On 01/02/13 13:13, Matthias Felleisen wrote: Actually what does it mean to access syntactic extensions at run-time? Just a thought, but is there a case for pulling the syntaxes into a "run-time" test suite ("raco test", or even the GUI tester?) and test

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
On 01/02/13 14:39, Tim Brown wrote: (define/test (add-four a) (check-= (add-four 2) 6 0) (+ 4 a)) This won't compile; I can't get off the starting line. However, it *does* go all golden-background in DrRacket, which explains to me that there's a syntax error (and DrRacket doesn't blow up)... h

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
On 01/02/13 13:13, Matthias Felleisen wrote: Actually what does it mean to access syntactic extensions at run-time? Just a thought, but is there a case for pulling the syntaxes into a "run-time" test suite ("raco test", or even the GUI tester?) and testing them there... e.g. do they transform a

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Ryan Culpepper
The answer is roughly "that is not possible". In general, the meaning of a macro cannot be represented by a run-time value (but see below), so if you want to do something reflection-based with macros, you probably need to change your design to deal with terms (represented by syntax objects) ins

Re: [racket] Racket v5.3.2

2013-02-01 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01-02-13 05:20, Eli Barzilay wrote: > Racket version 5.3.2 is now available from > > http://racket-lang.org/ > > * Documentation cross-reference information is stored in an > SQLite3 database, which means that SQLite3 is required for building > Ra

Re: [racket] Racket v5.3.2

2013-02-01 Thread Robby Findler
On Fri, Feb 1, 2013 at 1:30 AM, Joe Gilray wrote: > Thanks Eli, > > Ran all my code under 5.3.2 - looking good. I'm definitely interested in > looking into the math lib. > > BTW, ever since 5.3.1 (I think), the debugger acts a little different, in > the variables pane it only shows the beginning

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Matthias Felleisen
Actually what does it mean to access syntactic extensions at run-time? On Feb 1, 2013, at 2:57 AM, Dan Grossman wrote: > > Cody and I would love an answer to this question from 1.5 months ago if > anybody can point us in the right direction and/or ask us to clarify the > question. Or if th

Re: [racket] Beginners request for code review.

2013-02-01 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Poitr, On 31-01-13 02:20, Piotr Klibert wrote: > Hello all. > > TL;DR: I "want" a code review. Link to the repository at the end. [snip] > The code lives here: > http://bazaar.launchpad.net/~klibertp/+junk/bezier/files > > I will really apprec

[racket] Finding files

2013-02-01 Thread John Sampson
Many thanks. I can give "(go)" in the interactions window and it works. But to load serve.rkt I had to navigate to its folder. I have not been able to find a succinct description how to cope with the Windows directory system to make Racket find user-created files, either to run them as program

Re: [racket] scribbling newbie questions

2013-02-01 Thread Jos Koot
Hi Matthias, That would be great. Jos -Original Message- From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] Sent: jueves, 31 de enero de 2013 23:33 To: Jos Koot Cc: 'Matthew Flatt'; 'Danny Yoo'; users@racket-lang.org Subject: Re: [racket] scribbling newbie questions We should be ab

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Dan Grossman
Cody and I would love an answer to this question from 1.5 months ago if anybody can point us in the right direction and/or ask us to clarify the question. Or if the answer is "that is not possible" then we'll do something else. Much thanks! --Dan On Mon, Dec 17, 2012 at 9:20 PM, Cody Schroeder