So, I was under the impression that the REPL was the toplevel (unless
you entered a module context or something like that). But I just had
something challenge that assumption and so now I'm a bit confused.
I have the following top level program:
(begin
(require (for-meta 1 racket)
Ah, okay, that makes sense. Thank you. I didn't realize begin was
evaluating each expression as it went.
Thank you.
~Leif Andersen
On Mon, Dec 21, 2015 at 5:47 PM, Matthew Flatt wrote:
> In the REPL, `begin` splices at the granularity of expansion and
> evaluation. That
In the REPL, `begin` splices at the granularity of expansion and
evaluation. That is, the first of the two forms grouped by `begin` is
compiled and evaluated, and only afterward the second one is compiled
and evaluated.
The `compile` function can't do that, because it's only supposed to
compile
Can you describe an elliptical path in mathematical terms?
Why do you want a list of list of points when a shape description is usually
just a list of points?
Also I have never heard of a Union of lists. If this is a homework problem, can
you ask your instructor for clarification?
On
I'm a beginner at racket and I am finding it difficult to make a list of lists
of points follow an elliptical path and also rotate them so that the shape that
they make it's facing the centre of the ellipse. I can't make a union on this
list either. Can anyone explain me a procedure to do this,
On Friday, December 11, 2015 at 3:22:59 PM UTC+1, Brian Adkins wrote:
> On Friday, December 11, 2015 at 9:06:16 AM UTC-5, Matthew Flatt wrote:
> I think maybe an xargs limit is being reached or something - when I scroll
> up, I see another total line is displayed for .rkt, so it's:
Yes, that's
Including a paper from our very own McCarthy/New/Fetscher/Findler. :)
---
FLOPS 2016: 13th International Symposium on Functional and Logic Programming
March 4-6, 2016, Kochi, Japanhttp://www.info.kochi-tech.ac.jp/FLOPS2016/
Call for Participation and Posters/Demos
Registration will
Hey guys,
I have a big problem, when I started this project I completely ignored split
the data for each user, and the results of that is the manage of one user for
time, really bad. Now I try resolve this and all ideas result very dificult (at
least in code). I can resolve a part of this
> On Dec 21, 2015, at 10:53 PM, Leif Andersen wrote:
> But `compile` is not supposed to evaluate any code, it just compiles
> it. Which is why it fails to compile that code. But if you interleave
> it with evals, it will run the require code, which gives the phase
> level
Ah, that's a good question. One that I don't really know the answer
too, because when I do:
> (compile #'(begin
(define-syntax (foo stx)
(displayln "hello")
#'5)
foo))
I get back the compiled object. Also foo is not displayed. And
So, the way I understand it (and please correct me if I'm wrong), is
that require is a macro for #%require, which is converted by the
compiler to either a top level require form, or part of the module's
require field. (Depending on where it goes).
When you put a `begin-for-syntax` or a
Wait, now I'm even more confused. If expand does the splicing and
compile time evals song and dance, why do we need a separate function
for:
expand-syntax-top-level-with-compile-time-evals
?
~Leif Andersen
On Mon, Dec 21, 2015 at 9:48 PM, Robby Findler
wrote:
> I
I believe that's because expand does the splicing dance, but compile
doesn't (which is why you need the funny-named function ... "need" is
perhaps a poor choice of words here :).
Robby
On Mon, Dec 21, 2015 at 10:30 PM, Leif Andersen wrote:
> Ah, that's a good question.
I get that `compile` doesn't evaluate the require form, but why doesn't it
evaluate what's needed for compile time? I thought that was the reason for
needing require as a macro instead of a function. Or am I getting the purpose
of compile wrong?
Alex Knauth
> On Dec 21, 2015, at 7:47 PM,
segunda-feira, 21 de Dezembro de 2015 às 14:09:30 UTC, Raquel Oliveira escreveu:
> I'm a beginner at racket and I am finding it difficult to make a list of
> lists of points follow an elliptical path and also rotate them so that the
> shape that they make it's facing the centre of the ellipse. I
An update on incremental mode as of today's snapshot:
DrRacket now enables incremental mode when you're editing.
Specifically, the editor classes now request incremental mode when you
click or type in the editor.
This is an experiment to see whether incremental mode improves
DrRacket's behavior
segunda-feira, 21 de Dezembro de 2015 às 14:09:30 UTC, Raquel Oliveira escreveu:
> I'm a beginner at racket and I am finding it difficult to make a list of
> lists of points follow an elliptical path and also rotate them so that the
> shape that they make it's facing the centre of the ellipse. I
On Dec 21, 2015, at 10:29 AM, Raquel Oliveira wrote:
> segunda-feira, 21 de Dezembro de 2015 às 14:09:30 UTC, Raquel Oliveira
> escreveu:
>> I'm a beginner at racket and I am finding it difficult to make a list of
>> lists of points follow an elliptical path and also
Hi Greg,
Can you update and check if you still get the same error? If you do,
or if you get a different one, can you send me the output of
racket -l pict3d/tests/shaders
Thanks!
Jay
On Sun, Dec 20, 2015 at 6:04 PM, Greg Trzeciak wrote:
> Thanks guys for such a quick
19 matches
Mail list logo