Thank you very much! That was exactly what I needed.
(define (reset-flowers flowers)
[when (method-in-interface? 'snap-back-after-regions? card%)
;; See Animations in the README file and see also
;; mred/15064 in Racket's bug database. This is
;; conditional for
On May 27, 2015, at 6:13 AM, Michael Tiedtke michael.tied...@o2online.de
wrote:
I'm a little bit astonished that Racket doesn't offer a defined? primitve
when it's not
possible to implement it with macros because of the strange compile-time
behavior.
Here’s a fairly useless macro that
Just as a side comment, the more usual OO way (less 'hacky') to do that
kind of things is to define a specific interface that contains a set of
method declarations, and make the class implement this interface (or none
actually, in which case the interface is used only as a tag). Then you can
test
try `syntax/parse/experimental/template`.
It gives you access to `??', which basically says use a if present, else
b, and some other cool templates besides. From the docs:
(syntax-parse #'(m 1 2 3) [(_ (~optional (~seq #:op op:expr)) arg:expr
...) (template ((?? op +) arg ...))]) #syntax:197:0
On May 27, 2015, at 10:14 AM, N N nawar.noo...@gmail.com wrote:
On Wednesday, May 27, 2015 at 5:39:05 PM UTC+1, johnbclements wrote:
What version of Racket is this?
John Clements
6.1.1 Minimal
I did ten minutes of code spelunking, and here’s what I found:
It appears that
I appreciate the help, but I'll point out that I explicitly said I didn't want
to use `template` in my original message. ;)
On May 27, 2015, at 05:18, Spencer Florence spen...@florence.io wrote:
try `syntax/parse/experimental/template`.
It gives you access to `??', which basically says
I've been trying to set up Racket for evaluation purposes and due to being on
CentOS with no root privileges, I've chosen the Racket minimal distribution.
I was able to compile it from source and run it and wanted to manually install
xrepl for an improved interpreter experience. I found the
Il giorno 27/mag/2015, alle ore 13.08, Alexander D. Knauth ha scritto:
On May 27, 2015, at 6:13 AM, Michael Tiedtke michael.tied...@o2online.de
wrote:
I'm a little bit astonished that Racket doesn't offer a defined? primitve
when it's not
possible to implement it with macros because of
On Wednesday, May 27, 2015 at 5:39:05 PM UTC+1, johnbclements wrote:
What version of Racket is this?
John Clements
6.1.1 Minimal
Thanks
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails
On May 27, 2015, at 8:34 AM, N N nawar.noo...@gmail.com wrote:
I've been trying to set up Racket for evaluation purposes and due to being on
CentOS with no root privileges, I've chosen the Racket minimal distribution.
I was able to compile it from source and run it and wanted to manually
On Wednesday, May 27, 2015 at 6:52:08 PM UTC+1, johnbclements wrote:
On May 27, 2015, at 10:14 AM, N N nawar.noo...@gmail.com wrote:
On Wednesday, May 27, 2015 at 5:39:05 PM UTC+1, johnbclements wrote:
What version of Racket is this?
John Clements
6.1.1 Minimal
I did ten
11 matches
Mail list logo