Is there a way to paste a pixel map (such as a .png ?) to
a face of one of the objects in pict3d? If so, I haven't found it.
I'd like to paint the objects with interesting textures.
-- hendrik
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
T
On Sat, Sep 21, 2019 at 08:01:16PM -0400, Hendrik Boom wrote:
> On Sat, Sep 21, 2019 at 04:44:47PM -0400, Philip McGrath wrote:
> > I'm not sure if I understand your question; do you mean something like this?
> > #lang racket
> > (require syntax/parse/define)
> > (define-syntax-parser macro-list
>
On Sat, Sep 21, 2019 at 04:44:47PM -0400, Philip McGrath wrote:
> I'm not sure if I understand your question; do you mean something like this?
> #lang racket
> (require syntax/parse/define)
> (define-syntax-parser macro-list
> [(_)
>#'null]
> [(_ x0 x ...)
>#'(cons x0 (macro-list x ...)
Correction: "see which Scheme implementations come out with *Wasm* backends"
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegrou
Thanks. I'm currently running 6.12, so this may be what convinces me to go
ahead and upgrade.
-- Jonathan
On Sat, Sep 21, 2019 at 4:28 PM Philip McGrath
wrote:
> Use `~@` (sine Racket 7.0):
> (syntax-parse #'(1 2 2 a 2 2 b 2 c)
> [(1 (~seq n:nat ...+ x) ...)
>#'((~@ n ... x) ...)])
>
> -P
On 9/21/19 10:15 PM, Jonathan Simpson wrote:
Given this macro that I'm experimenting with:
(syntax-parse #'(1 2 2 a 2 2 b 2 c) [(1 (~seq n:nat ...+ x) ...) #'((n
... x) ...)])
How would I change it so that it returns #'(2 2 a 2 2 b 2 c) instead of
#'((2 2 a) (2 2 b) (2 c)) ?
I don't want t
caleb wrote on 9/21/19 11:27 AM
I'm a bit of a Racket noob--how extensive of a project is it to get Racket
running on x R6RS scheme?
I think there's a number of ways to do that, and to scope it, and I want
to just put some initial thoughts out there, rather than propose
requirements and part
I'm not sure if I understand your question; do you mean something like this?
#lang racket
(require syntax/parse/define)
(define-syntax-parser macro-list
[(_)
#'null]
[(_ x0 x ...)
#'(cons x0 (macro-list x ...))])
(macro-list 1 2 3 4 5)
-Philip
On Sat, Sep 21, 2019 at 4:29 PM Hendrik Bo
I've read the syntax-parse and its documentation, and I'd like to know
if there's a way for a macro to accept a varying number of parameters
without them having to be handled in a uniform way, spliced into a list.
I'd like to be able to expand
(foo a1 a2 a3 a4 a5)
into something like
(bar a1 (
Den lør. 21. sep. 2019 kl. 22.15 skrev Jonathan Simpson :
> Given this macro that I'm experimenting with:
>
> (syntax-parse #'(1 2 2 a 2 2 b 2 c) [(1 (~seq n:nat ...+ x) ...) #'((n ...
> x) ...)])
>
> How would I change it so that it returns #'(2 2 a 2 2 b 2 c) instead of
> #'((2 2 a) (2 2 b) (2 c
Use `~@` (sine Racket 7.0):
(syntax-parse #'(1 2 2 a 2 2 b 2 c)
[(1 (~seq n:nat ...+ x) ...)
#'((~@ n ... x) ...)])
-Philip
On Sat, Sep 21, 2019 at 4:15 PM Jonathan Simpson wrote:
> Given this macro that I'm experimenting with:
>
> (syntax-parse #'(1 2 2 a 2 2 b 2 c) [(1 (~seq n:nat ...+
Given this macro that I'm experimenting with:
(syntax-parse #'(1 2 2 a 2 2 b 2 c) [(1 (~seq n:nat ...+ x) ...) #'((n ...
x) ...)])
How would I change it so that it returns #'(2 2 a 2 2 b 2 c) instead of
#'((2 2 a) (2 2 b) (2 c)) ?
I don't want the parens around the individual sequences that I'
Thanks,
Your report shows even weirder things.
Best wishes, Jos
De: Gustavo Massaccesi
Enviado el: 21 September 2019 13:33
Para: Jos Koot
CC: Racket-Users List
Asunto: Re: [racket-users] scribble defproc looses parenthesis
It looks like an error to me. I made a bug report in
https://
On Sat, Sep 21, 2019 at 09:27:04AM -0600, caleb wrote:
> This is awesome.
>
> I'm a bit of a Racket noob--how extensive of a project is it to get
> Racket running on x R6RS scheme?
If you mean running R6RS scheme on Racket,
I suspect it's as simple as starting with
#lang r6rs
instead of
#
I haven't figured out how to forbid the use of length in submitted code. I'm a
little lost with
:language
:with-submission-bindings
I did understand
:requires
so I'm able to let submissions use extra libraries, but I'd like to forbid,
say, length in '(special beginner) too.
Thanks!
-
This is awesome.
I'm a bit of a Racket noob--how extensive of a project is it to get
Racket running on x R6RS scheme?
Neil Van Dyke writes:
> FYI, a proof-of-concept of compiling a good subset of Scheme to WebAssembly:
>
> https://github.com/google/schism
>
> It relies on two experimental(?) Wa
I don't know if I'm doing this right, but I wanted to write the student's grade
after writing the submission report. I had to provide get-student-score in
grading-utils.rkt. I'd be surprised if I'm the first one to need this, so I
think I'm probably misunderstanding things.
Also, just to lear
‐‐‐ Original Message ‐‐‐
On Friday, September 20, 2019 3:04 PM, gfb wrote:
> Yes, the How To Design Programs (and possibly DeinProgramm ) tool relies
> on the Test Engine tool.
>
> If you have a moment to do so, I'd encourage filing this consequence as an
> issue on GitHub.
Done.
It looks like an error to me. I made a bug report in
https://github.com/racket/scribble/issues/211 because it is easy to track
the problem there.
You can subscribe to the issue to get any update, or I can try to remember
to post any (big) update here.
Gustavo
On Sat, Sep 14, 2019 at 2:05 PM Jos
Den lør. 21. sep. 2019 kl. 10.05 skrev Marc Kaufmann <
marc.kaufman...@gmail.com>:
> Could I use the send/forward to essentially disable forms if I use as the
> `action` attribute on the form an (embed-url ...), which will no longer
> work later on? This will probably through an error if people do
I haven't had the time to test it, but I am wondering if calling
(clear-continuations-table!) which send/forward does will delete all
continuations, even those of other users. So suddenly links that other
users want to use will also get wiped out. I probably won't have time to
test today, but will
A few days ago I posted about adding maps to the DrRacket REPL -- while a
nice demo, this is not why I implemented the `map-snip%` object. The
reason I implemented it is because I wanted to add maps to an interface
which was designed for displaying plots produced by `plot-snip`. While
this i
Could I use the send/forward to essentially disable forms if I use as the
`action` attribute on the form an (embed-url ...), which will no longer
work later on? This will probably through an error if people do the 'Go
back, resubmit' cycle, but I don't mind throwing an error on that, rather
than gr
23 matches
Mail list logo