[racket-users] Re: Advent of Code 2016

2016-12-13 Thread Matthew Butterick
I liked last year's Day 7 problem so much, I licensed it from the author for a Racket DSL tutorial: http://beautifulracket.com/wires/ This year I’m solving every problem as a DSL. Like cookies for Santa, I will leave at least one for Benjamin Greenman. https://github.com/mbutterick/aoc-racket/

[racket-users] Re: adding pref for rsound package

2016-12-13 Thread Robby Findler
The phase1/phase2 stuff isn't really for preference initialization. You should be able to just do it when the module require'd (ie at its toplevl) or when the tool@ unit is invoked. Either phase would also be fine. Also, you might want to use the preference directly in the part of the library that

[racket-users] adding pref for rsound package

2016-12-13 Thread 'John Clements' via Racket Users
The RSound package generates sounds. It generates a bunch of them at startup, and in general, there’s no way to know exactly what frame rates the machine supports. Historically, 44.1KHz has been the standard, but recently, 48K has been gaining traction, and many of my students’ machines no longe

Re: [racket-users] syntax-property lost across module boundary (WAS: format-id doesn't preserve preserved?-edness of syntax-property?)

2016-12-13 Thread Alexis King
> On Dec 13, 2016, at 11:23 AM, 'William J. Bowman' via Racket Users > wrote: > > Notice that #'x is not the same identifier as x, and thus does not > have the same syntax-properties. I’m not convinced this is correct. If you insert println statements in the body of define^, inside the with-syn

Re: [racket-users] Re: syntax-property lost across module boundary (WAS: format-id doesn't preserve preserved?-edness of syntax-property?)

2016-12-13 Thread 'William J. Bowman' via Racket Users
After a debugging session with Leif, the problem is actually a user-error caused by sublte issues with macros-generating-macors: In the failing case, I was generating the following (with-syntax ([x (format-id ...)]) #`(begin (define x body) (define-syntax id (make

Re: [racket-users] Good Data Structures Book?

2016-12-13 Thread Ben Greenman
"Purely Functional Data Structures" https://www.amazon.com/Purely-Functional-Structures-Chris-Okasaki/dp/0521663504 On Tue, Dec 13, 2016 at 1:22 PM, Lawrence Bottorff wrote: > Can someone suggest a good text for data structures that would compatible > with Racket? All I see are treatments using

Re: [racket-users] Good Data Structures Book?

2016-12-13 Thread Matthias Felleisen
> On Dec 13, 2016, at 1:22 PM, Lawrence Bottorff wrote: > > Can someone suggest a good text for data structures that would compatible > with Racket? All I see are treatments using C/C++, Java, Python, i.e., the > usual suspects. Or, how do you people at Racket-friendly/based universities > te

[racket-users] Good Data Structures Book?

2016-12-13 Thread Lawrence Bottorff
Can someone suggest a good text for data structures that would compatible with Racket? All I see are treatments using C/C++, Java, Python, i.e., the usual suspects. Or, how do you people at Racket-friendly/based universities teach undergrad data structures? -- You received this message because