Ahh, I thought they were bound together in some sort of a mysterious
structure. Thanks.
On Tue, Feb 25, 2014 at 4:53 PM, Jay McCarthy wrote:
> When you press a key, say A, and then release it, there are two
> key-events that are registered. The first has "get-key-code" as #\A.
> The second has "
When you press a key, say A, and then release it, there are two
key-events that are registered. The first has "get-key-code" as #\A.
The second has "get-key-code" 'release and #\A is returned by
get-release-key-code.
Jay
On Tue, Feb 25, 2014 at 5:49 PM, Tom Dean wrote:
> If I create an instance
If I create an instance of canvas% or editor-canvas% like
(define THE-CANVAS (new (class editor-canvas%
(super-new)
;; Key handler for key-stroke input:
(define/override (on-char key-event)
Hi,
I found a solution to the first problem where the parameter of the method are
now recognised as "lexically bound". However, it seems like a dirty hack as i
have to pass the arg list explicitly when checking the body expressions.
Furthermore, this does not solve the issue when methods conta
On 2014-02-25 11:40:22 -0500, Jonathan Schuster wrote:
>Are there any Scribble forms for documenting Redex metafunctions and
>judgments? I'm putting together a redex-extras package that has several
>generic utilities I've found useful throughout my model, but I'm not sure
>how to do
There aren't, unfortunately.
Robby
On Tue, Feb 25, 2014 at 10:40 AM, Jonathan Schuster wrote:
> Are there any Scribble forms for documenting Redex metafunctions and
> judgments? I'm putting together a redex-extras package that has several
> generic utilities I've found useful throughout my mode
Are there any Scribble forms for documenting Redex metafunctions and
judgments? I'm putting together a redex-extras package that has several
generic utilities I've found useful throughout my model, but I'm not sure
how to document them.
Racket Users list:
http://lists.racke
Hey guys,
(first time poster)
I have been learning how the Racket Syntax Framework works and trying to make a
custom language. What I am currently trying to make is a small Object Oriented
language which has classes and so on. I don't want to use the built-in classes
as I want to alter the OO
Eric's solution is probably the best one, but using `define-values` can
still be made a bit simpler:
(define-syntax-rule (ref name ...)
(define-values (name ...) (values (void 'name) ...)))
since `void` takes a variable number of arguments and discards them.
Laurent
On Tue, Feb 25, 2014 at 8:16
9 matches
Mail list logo