You might also like `filtered-out` from `racket/provide` [1]. The code
sample below prints two identifiers (at compile-time):
a:x
y
[1]
http://docs.racket-lang.org/reference/require.html#%28mod-path._racket%2Fprovide%29
#lang racket/base
(module a racket/base
(provide x)
(define x 1))
(
I'm a scribble/lp2 noob for sure, but why not eliminate the need for
`code:comment` within a `chunk`?
Because I find this curious: when the `chunk` is typeset in documentation mode,
scribble/lp2 is apparently parsing the comments, because they get converted to
whitespace. So ... instead of conv
Okay, thank you for the explanation.
I totally see what you mean now by the top level being hopeless. (Or
at least I think I do.) It seems there is no way to get a meaning that
does everything we would want it to...
As a side not Matthew, I notice that you seem to be sending out two
identical em
On 2015-12-18 12:20:13 -0800, Matthew Butterick wrote:
> Third try: also tried scribble/comment-reader [2] but this doesn't work
> (apparently because `racketblock` knows about `code:comment` but `chunk` does
> not:
I think things like `code:comment` are intended to work, but don't because
they'r
On 2015-12-18 17:27:54 -0800, Sanjeev Sharma wrote:
> how can I get lists of identifiers im/exported when one uses
>
> all-defined-out
> all-from-out
>
> I can't yet make sense of regprov.rkt
Do you mean how can you tell what's exported given a particular module someone
has written? Or do you
On Sun, Dec 20, 2015 at 08:42:25PM -0600, Robby Findler wrote:
> The reason the "E_1" and the "e_1" are treated differently is that the
> "e" is mentioned in "binding" position of the shortcut. That is what
> makes it special. Does this make sense?
Yes, thank you.
> (Have a read of the paragraph
>
On Tuesday, December 22, 2015 at 3:32:20 PM UTC+1, Robby Findler wrote:
> Hi Greg: just in case it wasn't obvious, Jay also needed to upgrade
> his Racket to a version that's newer than 6.3. You can find our
> snapshot builds here if you want to try that:
>
> http://pre.racket-lang.org/installer
Hi Greg: just in case it wasn't obvious, Jay also needed to upgrade
his Racket to a version that's newer than 6.3. You can find our
snapshot builds here if you want to try that:
http://pre.racket-lang.org/installers/
Robby
On Tue, Dec 22, 2015 at 7:52 AM, Greg Trzeciak wrote:
> On Tuesday, D
Oh right. Sorry for the confusion!
Robby
On Tuesday, December 22, 2015, Matthew Flatt wrote:
> I think Robby was confused by your example (which is understandable).
>
> The `expand` function does not splice any differently than `compile`,
> so `compile` behaves the same as `expand` in your exam
On Tuesday, December 22, 2015 at 2:44:54 PM UTC+1, Jay McCarthy wrote:
> I tried on Windows 10 with 6.2.1 and can confirm that just installing
> pict3d cases a bunch of segfaults.
>
> If I try with the current snapshot build, I can successfully install
> and run pict3d using an Nvidia GPU.
>
> Ja
I think Robby was confused by your example (which is understandable).
The `expand` function does not splice any differently than `compile`,
so `compile` behaves the same as `expand` in your example:
> (eval (compile #'(begin
(define-syntax (foo stx)
(displa
I tried on Windows 10 with 6.2.1 and can confirm that just installing
pict3d cases a bunch of segfaults.
If I try with the current snapshot build, I can successfully install
and run pict3d using an Nvidia GPU.
Jay
On Tue, Dec 22, 2015 at 7:24 AM, Greg Trzeciak wrote:
> On Tuesday, December 22,
Expanding a form triggers compile-time evaluation in the sense of
running macros. Currently, though, compilation treats changing the set
of bindings at the top level as a kind of run-time effect (to be
avoided at compile time).
For example, compiling `(define x 5)` does not change the current
bind
At Mon, 21 Dec 2015 21:30:45 -0700, Leif Andersen wrote:
> 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)
>
On Tuesday, December 22, 2015 at 1:06:55 PM UTC+1, Jay McCarthy wrote:
> Greg - What version of Racket are you running?
>
> Matthew - Do you know how to get logs from Windows crashes?
>
> Jay
Racket version is 6.3
My windows event log says that the module causing error in relation to Racket
is:
Greg - What version of Racket are you running?
Matthew - Do you know how to get logs from Windows crashes?
Jay
On Tue, Dec 22, 2015 at 6:45 AM, Greg Trzeciak wrote:
> On Monday, December 21, 2015 at 5:00:05 PM UTC+1, Jay McCarthy wrote:
>> Hi Greg,
>>
>> Can you update and check if you still ge
On Monday, December 21, 2015 at 5:00:05 PM UTC+1, Jay McCarthy wrote:
> 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
>
Hi,
I tried runnin
17 matches
Mail list logo