Re: [racket-users] Strange behaviour of the eq? operator in racket repl

2015-05-19 Thread Michael Tiedtke
Il giorno 18/mag/2015, alle ore 21.34, Jens Axel Søgaard ha scritto: 2015-05-18 21:25 GMT+02:00 Michael Tiedtke michael.tied...@o2online.de: Il giorno 18/mag/2015, alle ore 20.50, Jos Koot ha scritto: I think Rackets's reference and guide are *very clear* about eq?, eqv? and equal?.

[racket-users] Implementing a lazy for/stream using for/fold/derived and delimited control

2015-05-19 Thread Alexis King
I'm trying to implement a for/stream loop using for/fold/derived that will return a lazy stream, as would be expected. One way to do this is by using delimited control, which is what I'm currently trying. If there's an easier way, let me know, but I'd still like to figure this out as a

Re: [racket-users] slideshow keyboard callbacks?

2015-05-19 Thread Matthew Flatt
I don't think keybinding support or slide-changing operations are there already. My guess is that they'd be easy to add. At Tue, 19 May 2015 19:30:35 -0700, 'John Clements' via users-redirect wrote: I’m creating a simple slideshow, and I’d like to be able to jump to a given slide instantly,

[racket-users] Re: Implementing a lazy for/stream using for/fold/derived and delimited control

2015-05-19 Thread Alexis King
As I've continued to experiment with this, I've run into something that I don't really understand. I've managed to come up with this snippet of code. (define (do prompt-tag) (define (loop element continue) (if continue (+ element (call-with-continuation-prompt continue prompt-tag

[racket-users] slideshow keyboard callbacks?

2015-05-19 Thread 'John Clements' via users-redirect
I’m creating a simple slideshow, and I’d like to be able to jump to a given slide instantly, ideally by pressing a particular key. Basically, I’d like to be able to write this: #lang slideshow (extend-keyboard-handler (lambda (key default-handler) (match key [1 (jump-to-slide

[racket-users] DLS-15, CFP

2015-05-19 Thread Matthew Flatt
- C A L L F O R P A P E R S - DLS 2015 === 11th Dynamic Languages Symposium

[racket-users] RACO : how to build a shared fPIC library?

2015-05-19 Thread yann degat
Hi i wonder if it could be quite straight forward to build a binary file with the raco exe as a shared library with Position Independent Code ? I'd like to be able to build osv.io qemu images from racket projects. It would be a pretty damn killer feature. osv.io is some kind of a unikernel

[racket-users] Tunable flonum comparison using math library

2015-05-19 Thread Stuart Hungerford
Hi, I've been trying out Racket for 2D graphics tasks and have come across the Racket math library. Firstly just wanted to say a big thank you to the developers for such a well thought out and documented library. I've had problems in the past with floating point comparison, especially around

Re: [racket-users] Type error using in-list on empty list

2015-05-19 Thread Sam Tobin-Hochstadt
What's happening here is that when typechecking a `let loop`, Typed Racket will try to guess the loop argument types from the initial values. Here, it converts `Null` into `(Listof Any)`, and then that choice runs into trouble later. The simplest fix here is to pass something with the type

[racket-users] Type error using in-list on empty list

2015-05-19 Thread Benjamin Greenman
This program raises a type error about unsafe-car (for ([x : Void (in-list '())]) x) So far, I've found ways to remove the error 1. Remove the annotation on x 2. Remove the in-list hint 3. Use a non-empty list Is this a bug? -- You received this message because you are subscribed to the