Re: [racket] racketcon podcasts & proceedings?

2011-07-28 Thread Eric Tanter
Indeed, you're not alone! thanks to Jeff for taking care of that. Looking forward to the announcement of the videos. -- Éric On Jul 27, 2011, at 9:04 PM, Stephen De Gabrielle wrote: > Thanks, > I'm sure I'm not the only one who appreciates the effort. > > S. > > On Wednesday, July 27, 2011,

[racket] pictures from racketcon 2011

2011-07-28 Thread Danny Yoo
Here are a few pictures from RacketCon 2011: http://www.facebook.com/media/set/?set=a.10150271209024095.353114.607179094&l=14ba5f50f5&type=1 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Tom McNulty
Thanks Matthias, thats a lot cleaner than my version. On 2011-07-28, at 1:19 PM, Matthias Felleisen wrote: > > You could fake it: > > (require (for-syntax syntax/parse)) > > ;; Syntax SyntaxList SyntaxList -> [Listof (list String Syntax Syntax)] > ;; create association list mapping field n

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Eli Barzilay
Three hours ago, Neil Van Dyke wrote: > BTW, if you're curious, there was some discussion about this on the > "users" or "dev" email list, perhaps a few months ago. > > My impression&opinion is that we're trying to get a library that > scales from small to large and rapid to plodding, is flexible

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Matthias Felleisen
You could fake it: (require (for-syntax syntax/parse)) ;; Syntax SyntaxList SyntaxList -> [Listof (list String Syntax Syntax)] ;; create association list mapping field names to getters and setters [option] (define-for-syntax (field-association-list sn getters setters) (define sn-str

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Tom McNulty
On 2011-07-28, at 12:43 PM, Eli Barzilay wrote: > 7 minutes ago, Matthias Felleisen wrote: >> >> On Jul 28, 2011, at 2:10 PM, Tom McNulty wrote: >> >>> I was hoping that I could locate the getter (and setter) with just >>> the field and structure type but that information doesn't seem to >>> be

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Eli Barzilay
7 minutes ago, Matthias Felleisen wrote: > > On Jul 28, 2011, at 2:10 PM, Tom McNulty wrote: > > > I was hoping that I could locate the getter (and setter) with just > > the field and structure type but that information doesn't seem to > > be possible. Ah, you're right. > I don't understand yo

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Matthias Felleisen
On Jul 28, 2011, at 2:10 PM, Tom McNulty wrote: > I was hoping that I could locate the getter (and setter) with just the field > and structure type but that information doesn't seem to be possible. I don't understand your request but if you are giving me the structure name and the structure

Re: [racket] Advice on a macro for mutating structs

2011-07-28 Thread Tom McNulty
err... https://gist.github.com/1112122 On 2011-07-28, at 12:10 PM, Tom McNulty wrote: > Hello, > > I posted a question on stackoverflow this week: > http://stackoverflow.com/questions/6838115/racket-using-a-macro-across-modules, > with thanks to Eli, I was able to understand where I was going

[racket] Advice on a macro for mutating structs

2011-07-28 Thread Tom McNulty
Hello, I posted a question on stackoverflow this week: http://stackoverflow.com/questions/6838115/racket-using-a-macro-across-modules, with thanks to Eli, I was able to understand where I was going wrong. I took his advice in using a struct-info alternative, and as I have limited experience b

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Neil Van Dyke
BTW, if you're curious, there was some discussion about this on the "users" or "dev" email list, perhaps a few months ago. My impression&opinion is that we're trying to get a library that scales from small to large and rapid to plodding, is flexible enough to do everything people want, is incl

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Rodolfo Carvalho
So far with the small exposure I had to it, I liked it a lot. +1 to have it as an alternative to RackUnit :) []'s Rodolfo Carvalho On Thu, Jul 28, 2011 at 12:20, Eli Barzilay wrote: > It started as soemthing small (yes, "hacky") that I intended to play > with and therefore never got any pro

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Eli Barzilay
It started as soemthing small (yes, "hacky") that I intended to play with and therefore never got any proper name or a place as a library. Since then it grew to something I have a better idea for how it should go. So the problem is not just a lack of documentation (scribbled or comments), it's a b

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Matthias Felleisen
There is no scribbled documentation. -- Matthias On Jul 28, 2011, at 10:42 AM, Jay McCarthy wrote: > I don't think it's hacky at all. It's my favourite testing system. I'm > not sure why it isn't more publicly documented. (There is > documentation in the source file... however.) > > Jay > >

Re: [racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Jay McCarthy
I don't think it's hacky at all. It's my favourite testing system. I'm not sure why it isn't more publicly documented. (There is documentation in the source file... however.) Jay On Thu, Jul 28, 2011 at 2:15 AM, Rodolfo Carvalho wrote: > I noticed that Jay used in his code an undocumented > modu

[racket] using macros and new structs with make-struct-type

2011-07-28 Thread Maurizio Giordano
Hi all, I am not a racket expert, so my problem could be simpy due to my few knwoledge about macros. My problem is when I am using macros and user-defined structs. I have defined my new structure with "make-struct-type": ; Multiset datatype definition (define-values (s:mset make-mset mset?

[racket] eli-tester (was "Using Racket to solve Professor Layton puzzles")

2011-07-28 Thread Rodolfo Carvalho
I noticed that Jay used in his code an undocumented module "tests/eli-tester" to write his test cases. I liked the syntax, very convenient in some circumstances. However, I could only find uses of that inside a comment in ./collects/scribble/html/resource.rkt Is it so hacky to be hidden and undoc