Here's a macro that does something similar:
#lang at-exp racket
(require (for-syntax syntax/parse
racket/contract
))
(begin-for-syntax
(define (get-extracted-exprs-box extracted-exprs-id)
(syntax-local-value extracted-exprs-id))
(define
Hi, everyone.
I've stumbled upon some unforeseen strangeness regarding the redrawing of
certain elements in the GUI framework recently.
Initially, I assumed that a set-label call for a button, for example,
would redraw that button automatically, with the new dimensions and
everything in
That fixed the example I gave, but now this fails:
(let ()
(def)
(let ()
(use)))
On Mon, Jul 20, 2015 at 2:50 PM Matthew Flatt mfl...@cs.utah.edu wrote:
Repair pushed.
On Jul 20, 2015, at 11:14 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
Thanks for the info. I think it's a bug
Oh. I checked that that the expressions were accumulating in the definition of
extract-expression, but I didn't check that it expanded in the right order to
do what you want.
So this doesn't actually work.
On Jul 21, 2015, at 3:08 PM, Alexander D. Knauth alexan...@knauth.org wrote:
Here's a
Le 20/07/2015 11:03, Mianlai Zhou a écrit :
Hi,
Thanks for your answer. I meant the former, i.e., a 2D pict of a ball
with some shading to make it look 3D.
Is there any quick way to do it or I have to implement the algorithm
by myself?
The answer is more general than just in the
Why not step back and design a notation where testing and documenting can share
concepts instead of retro-actively extracting expressions from one place to put
somewhere else. -- Matthias
On Jul 21, 2015, at 3:23 PM, Alexander D. Knauth alexan...@knauth.org wrote:
Oh. I checked that
That one should fail (and the same as with the old expander).
Each `(let () )` starts a new scope, and the identifier introduced
by `(use)` doesn't have the scope for the outer `(let () )` where
`(def)` creates a binding.
At Tue, 21 Jul 2015 19:38:57 +, Spencer Florence wrote:
That
7 matches
Mail list logo