[racket] Why does rackunit show the stack trace of check failures?

2013-10-08 Thread Eric Dobson
I'm trying to clean up the output of some test cases so they are easier to debug when the go wrong. One of the issues is that the rackunit text ui always wants to print the stack trace of check failures. I never find these useful since they just show frames of the test code, not the code under test

Re: [racket] combine-in doesnt combine?

2013-10-08 Thread Stephen Chang
Ok, I didn't realize they were different functions. I thought the htdp langs just imported from 2htdp/draw. On Tue, Oct 8, 2013 at 7:32 PM, Carl Eastlund wrote: > It does accept a union, but a module import is a finite map (from > identifiers to their definitions), not just a set. The union is

Re: [racket] combine-in doesnt combine?

2013-10-08 Thread Carl Eastlund
It does accept a union, but a module import is a finite map (from identifiers to their definitions), not just a set. The union is only well defined if all duplicated keys map to the same values. In this case, one import maps image? to the definition in htdp, and the other maps image? to the defin

[racket] combine-in doesnt combine?

2013-10-08 Thread Stephen Chang
What is the intended use case of combine-in? The docs says it does a union but that doesnt seem to be true. (require (combine-in lang/htdp-beginner 2htdp/image)) module: identifier already imported from a different source in: image? (rename 2htdp/image image? image?) (rename lang/htdp-begin

Re: [racket] Hash array mapped tries

2013-10-08 Thread Jon Zeppieri
On Tue, Oct 8, 2013 at 2:28 PM, Asumu Takikawa wrote: > On 2013-10-04 14:03:00 -0400, Jon Zeppieri wrote: >> The HAMT library I began working on at the RacketCon Hackathon is now >> available at [https://github.com/97jaz/hamt]. Suggestions are welcome. > > Very nice! Have you tried using the versi

Re: [racket] Hash array mapped tries

2013-10-08 Thread Asumu Takikawa
On 2013-10-04 14:03:00 -0400, Jon Zeppieri wrote: > The HAMT library I began working on at the RacketCon Hackathon is now > available at [https://github.com/97jaz/hamt]. Suggestions are welcome. Very nice! Have you tried using the version of `popcount` in the `data` library's private interface to

Re: [racket] Any online courses by the PLT group?

2013-10-08 Thread Shriram Krishnamurthi
Right. You should absolutely look at Matthew's materials. But also note that Joe and I designed our course to be archival so that anyone who wants to can re-run the course for themselves even after it was over (as it is). So you may benefit from pursuing both. Racket Users li

Re: [racket] Any online courses by the PLT group?

2013-10-08 Thread Matthew Flatt
At Tue, 8 Oct 2013 11:00:16 -0400, Asumu Takikawa wrote: > Hi Ben, > > On 2013-10-07 18:25:38 +0800, Ben Duan wrote: > >Are there any online courses taught by someone from the PLT group? > > Though the course is already over, you might look at Shriram and Joe's > online PL course materials: >

Re: [racket] An evaluating pastebin for Racket

2013-10-08 Thread Vlad Kozin
very cool! --- Vlad Kozin On Oct 7, 2013, at 1:46 PM, Stephen Chang wrote: > Hello Racket users, > > For the hackathon, I made an evaluating pastebin for Racket: pasterack.org > > Give it a try! Comments welcome. > > Thanks to Sam for many suggestions. > > Racket User

Re: [racket] Any online courses by the PLT group?

2013-10-08 Thread Asumu Takikawa
Hi Ben, On 2013-10-07 18:25:38 +0800, Ben Duan wrote: >Are there any online courses taught by someone from the PLT group? Though the course is already over, you might look at Shriram and Joe's online PL course materials: http://cs.brown.edu/courses/csci1730/2012/OnLine/ John Clements has s

[racket] Deadline extension for PEPM 2014 (co-located with POPL in San Diego)

2013-10-08 Thread Jurriaan Hage
LS. Please consider submitting your work on program transformation, partial evaluation, meta programming and program analysis, to PEPM 2014. Papers can be 12 pages in length ACM style (the size of a typical ICFP and POPL submission). Apologies for multiple postings. best, Jurriaan Hage and We

Re: [racket] Adjusting behavior based on version of Racket?

2013-10-08 Thread Tobias Hammer
For version specific behavior i use this macro. No dynamic require and no runtime overhead. (define-syntax (version>=? stx) (syntax-case stx () [(_ min-version body body-else) (if (string>=? (version) (syntax-e #'min-version)) #'body #'body-else)])) (version>=? "5.