On 20/05/2015 04:24, Alexis King wrote:
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 s
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 lo
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,
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 some-sl
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 pedagogic
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 `(Listo
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
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 Google
-
C A L L F O R P A P E R S
-
DLS 2015 ===
11th Dynamic Languages Symposium
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
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 :
> 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?.
>
> Yes, right. It
Il giorno 18/mag/2015, alle ore 22.25, Alexander D. Knauth ha scritto:
>
> On May 18, 2015, at 1:19 AM, Michael Tiedtke
> wrote:
>
>> I'm new to Racket but even R5RS is rather clear about this issue:
>>
>> (citation from doc/r5rs/r5rs-std/r5rs-Z-H-9.html)
>>> (eq? 2 2) ===> unspecified
>
12 matches
Mail list logo