(require) binds at compile time and creates a cycle, but by using
(dynamic-require) you can get past compilation and only load the file at
runtime, where the seemingly circular reference really isn't.
--
/c
On Sun, May 27, 2018, 23:48 Matthias Felleisen
wrote:
>
> Modules cannot refer to ea
Hello, my name is Pavel and I'm new to Racket :)
I'm playing with macros right now and get a strange error: "unmap failed".
What I'm trying to achieve in this program: expand (step x) into (+ (expt 2
0) (expt 2 1) ...)
For small numbers everything is OK, but I get an error for (step 100)
W
On Sat, May 26, 2018 at 3:11 PM, Alexis King wrote:
> This isn’t a direct answer to your question, but as Matthias notes, my
> struct-update package already implements a macro that generates
> functional setters from structure definitions. Here’s a link to the
> documentation:
>
O *cours
On Mon, May 28, 2018 at 9:58 AM, David Storrs wrote:
> O *course* there is. Lord know, why should I have an original idea
> now? :P
The Racket package ecosystem is growing to where we need some
volunteers to form a mathic order of Lorites (like in Neal
Stephenson's novel, Anathem).
--
You could also have a third file, test-a-and-b.rkt, that requires both
a.rkt and b.rkt and includes the test that depend on both files.
On Mon, May 28, 2018 at 10:08 AM Claes Wallin (韋嘉誠)
wrote:
> (require) binds at compile time and creates a cycle, but by using
> (dynamic-require) you can get
I was able to run your code successfully, so I can't help with the specific
error message you're seeing, but there were a number of issues. In
DrRacket, with `(step 50)`, expansion reaches the memory limit I've set
before it's able to compile the program. I could run it at the command-line
(and
6 matches
Mail list logo