I get it. Thanks all.
Racket Users list:
http://lists.racket-lang.org/users
This is not a problem with copy-struct. It's a weird combination of small bugs.
One of the problems is that the result of (struct-copy Base (Atom
3))) is a Base? struct, not a Atom? struct. More on this later.
First, let's analyze a reduced version of your program. Just delete
the copy-struct an
Hi all,
I have a question about the recently added #%declare form for modules.
Here's an example expansion for context:
-> (syntax->datum (expand #'(module a racket (#%declare "something"
'(module a racket
(#%module-begin
(module configure-runtime '#%kernel
(#%module-be
One useful trick in these situations is to break the computation and then
you can sometimes get a stacktrace inside the infinite loop.
Robby
On Sat, Mar 1, 2014 at 6:40 AM, Matthias Felleisen wrote:
>
> On Mar 1, 2014, at 5:50 AM, Jon Stenerson wrote:
>
> > When I put the following in the DrRac
If you are using Racket or any mostly functional language in any kind of
musical, artistic, or design endeavour, please consider contributing to
FARM 2014, the 2nd ACM SIGPLAN International Workshop of Functional Art,
Music, Modelling and Design, co-located with ICFP 2014.
Find attached the Call
I think the correct answer in this context is "it can't be done." :-)
On Feb 28, 2014, at 7:49 AM, Daniel Carrera wrote:
> Hello,
>
> I am a fairly new user of Scheme and Racket. My question is, now that
> R7RS-small is out, when can I expect to see support added to Racket /
> DrRacket? In
On Mar 1, 2014, at 5:50 AM, Jon Stenerson wrote:
> When I put the following in the DrRacket definitions window and then evaluate
> t, it works for a few seconds and runs out of memory. Anyone understand the
> problem?
>
> #lang racket
>
> (define (Print stx port mode)
> (if (Atom? stx)
>
When I put the following in the DrRacket definitions window and then
evaluate t, it works for a few seconds and runs out of memory. Anyone
understand the problem?
#lang racket
(define (Print stx port mode)
(if (Atom? stx)
(write-string "ATOM " port)
(Print (Pair-cdr stx) port mod
8 matches
Mail list logo