Re: [racket-users] Basic audio files' manipulation

2017-04-21 Thread 'John Clements' via Racket Users
> On Apr 21, 2017, at 18:34, Cleverson Casarin Uliana > wrote: > > Hello, I need playing/stopping a given audio file (may be wav, ogg, etc.), > checking whether the sound is still playing, and stop it/start a new sound > upon a key press. Is there support for it, prefferably using the OS nati

[racket-users] Basic audio files' manipulation

2017-04-21 Thread Cleverson Casarin Uliana
Hello, I need playing/stopping a given audio file (may be wav, ogg, etc.), checking whether the sound is still playing, and stop it/start a new sound upon a key press. Is there support for it, prefferably using the OS native resources? In case there are only bindings to external libs, what's th

Re: [racket-users] literals vs datum-literals in syntax-parse

2017-04-21 Thread Phil Nguyen
On Tuesday, January 10, 2017 at 4:34:41 PM UTC-5, Alexis King wrote: > Basically, the difference is as follows: #:literals compares > identifiers using free-identifier=?, but #:datum-literals compares > them by using syntax-e and eq?. > > You can observe the difference using two extremely simple m

Re: [racket-users] Is this a closure?

2017-04-21 Thread David Storrs
On Thu, Apr 20, 2017 at 10:04 PM, Lawrence Bottorff wrote: > Looking at HTDP-1 (http://htdp.org/2003-09-26/Bo > ok/curriculum-Z-H-25.html#node_chap_19), I see this: > > (define (filter predicate alon) > (cond >[(empty? alon) empty] >[else (cond > [(predicate (first alon)) >

[racket-users] Cut/copy/paste buggy in DrRacket 6.8 (on my dual boot system)

2017-04-21 Thread Chris Klopfenstein
It seems that sometimes when pasting the clipboard in DrRacket (version 6.8), it also gets pasted into another (wrong) place. It is very annoying. It also *seems* to occur when doing cut/paste in a different app (with DrRacket open). I've experienced this in both Ubuntu (16.10 and 17.04) and Wi