[racket] coding with continuations

2014-10-26 Thread Hendrik Boom
I've been sort of following Scheme since ages agoo when I read Guy Steele's masteer's thesis. I understand the concepts behind continuations. I understad some of the schemes by which they are implemented with multiple stacks, stack copying, or even Chey on the MTA. What I don't understand is

Re: [racket] Defining a typed language

2014-10-26 Thread E. Moran
On Mon Oct 20 07:08:54 EDT 2014, Konrad Hinsen wrote: > I have put the code on Github for easier access: > > https://github.com/khinsen/racket-typed-lang > > Once this works, it can serve as a template for others. Thanks for posting this... I was just wondering whether you've considered using

[racket] daily package builds and tests

2014-10-26 Thread Matthew Flatt
I've uploaded a preview of package-build results using the v6.1.1 release candidate: http://next-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.com/ You'll see that the build ran `raco test --drdr` for each successfully installed package, and the web page reports whether any tests fail

Re: [racket] Typed-Racket: provide and mutable variables

2014-10-26 Thread Asumu Takikawa
Hi Wayne, On 2014-10-26 14:59:59 -0700, Wayne Iba wrote: >The result of running testuntyped.rkt is two "initial"s and one >"new-name".  If I change the lang of testtyped.rkt to just racket (and >remove the type annotations), running testuntyped gives me the expected >one "initial"

[racket] Run Code after Button Click using the racket/gui library

2014-10-26 Thread Derek C.
Hello, I am trying to get the value of a label after a button is clicked. I know that I can use (send x get-label) to get the value of the label, but it only gets the initial value of the label in my case "No Zip Code Entered". Also, after that button is pressed I would like to run code that

[racket] Typed-Racket: provide and mutable variables

2014-10-26 Thread Wayne Iba
I've started porting code to typed/racket. One module is now typed and used in an untyped module that has not yet been ported. In the untyped module, I call a function (provided by the typed module) that updates provided variables but the values observed in the untyped module do not reflect the c

Re: [racket] Deadlock with FIFO files

2014-10-26 Thread Eric Dobson
I attempted reviewing the attached file, and it looks fine and I can replicate the buggy behavior, but I'm not that familiar with kqueue. Thanks for the quick turnaround/fix. On Sun, Oct 26, 2014 at 8:14 AM, Matthew Flatt wrote: > It looks like kqueue() is broken for FIFOs on Mac OS X. See the >

Re: [racket] Deadlock with FIFO files

2014-10-26 Thread Matthew Flatt
It looks like kqueue() is broken for FIFOs on Mac OS X. See the enclosed "kqueue_fifo.c". Unless I'm confused (a review of the enclosed program would be welcome), adding a kqueue event to watch for FIFO input disables an event that watches for FIFO output space, or something like that. I enabled t

Re: [racket] Bug in scribble's image-element?

2014-10-26 Thread Robby Findler
Thanks for the code and sorry for the delay in looking into this. It looks like you've added the to-scaled-num-from-str function and then called it (twice) and otherwise the code is unchanged. I've pushed that change: https://github.com/plt/racket/commit/046a851d7090f35a5966a3020e29d40c59948567