At Wed, 25 Mar 2015 17:08:56 -0700 (PDT), Steve Olsen wrote:
I was wondering if anybody could show me an example of a very simple
snip% that maybe drew a circle and had some sort of click interaction
that I could work off of.
I'll add the enclosed example to the documentation.
--
You
At Fri, 27 Mar 2015 16:42:03 -0700 (PDT), John Carmack wrote:
I want to be able to build simple (windows) utilities for other team
members that don't have Racket installed. The archive-with-dlls
option is better than nothing, but it would be a whole lot better to
have a single statically
that, then why should it care whether the readtable entry for
`(` is exactly the same as the default?
On Apr 13, 2015, at 1:00 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
The reader for `#hash` parses parentheses and dots itself, instead of
recurring and checking the result, so that it can
.
At Thu, 7 May 2015 07:29:48 -0700 (PDT), Philip Blair wrote:
On Wednesday, May 6, 2015 at 11:02:33 PM UTC-4, Matthew Flatt wrote:
I wonder whether whether expanding to `module+` might be a better
direction. A rough expansion of your example might be
#lang racket/base
(module+ FOO
(Sorry for the long delay!)
I think that defining a paragraph style for Latex is the right answer
to avoid indentation. In case you haven't yet done that, here's a hack:
use `(elem #:style noindent)` as the first element of of the
paragraph. That works because it generates `\noindent` in the
The problem that you're hitting is that the `#%module-begin` form of
`racket` forces partial expansion of the module body to detect
definitions before it proceeds to expand expressions. That's why
`define-values` complains about a full expansion in context; it's not
supposed to be fully expanded,
I have no problem with these names --- the `scribble` exports are
unlikely to ever collide, since we rarely resort to capital letters ---
but I can't help thinking that the language of the metadata should
specified explicitly.
Concretely, instead of
#lang racket/base
maybe the file should
At Wed, 06 May 2015 22:32:53 -0400, Neil Van Dyke wrote:
If I call `write-bytes` with mutable byte string S with value A, and
then, immediately after return from the call, I mutate S to value B...
is it nevertheless guaranteed that value A will be written?
Yes. I'll adjust the docs to
ideas?
On Thu, May 7, 2015 at 2:33 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
I agree that those sound goals sound like a poor fit for `module+`.
It's possible that `racket/package` provides something closer to the
namespace-management tools that you need.
Generally, I think you'll find
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen-height)
Roughly, using the `make-bitmap` method creates a bitmap that's on the
graphics card instead of main memory.
At Sun, 10 May 2015
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote:
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen
At Mon, 11 May 2015 13:22:31 -0700, Alexis King wrote:
I’ve gotten my curly-fn meta-language
https://github.com/lexi-lambda/racket-curly-fn working, and it works great
within a module. However, evaluating #{+ 2} within the REPL just evaluates as
a
plain old vector, ignoring my readtable
At Fri, 15 May 2015 13:17:57 -0700, John Clements wrote:
On May 14, 2015, at 4:08 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
Here are the results of a package build using the v6.2 release
candidate:
http://release-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.com
Here are the results of a package build using the v6.2 release
candidate:
http://release-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.com/
Compare to v6.1.1:
http://pkg-build.racket-lang.org/
For the v6.2 candidate, there are lots of dependency failures related
to documentation,
At Fri, 15 May 2015 11:09:25 -0400, Philip Blair wrote:
One question I have is whether or
not the scopes feature is something which I can more or less count on being
available in future versions of Racket
That's not yet clear.
Although most existing code would be unaffected by the change to a
At Mon, 18 May 2015 07:16:39 -0400, Jay McCarthy wrote:
On Sun, May 17, 2015 at 5:00 PM, Neil Van Dyke n...@neilvandyke.org wrote:
Can someone recommend an easy way to test Racket 9.2 pre-release on OpenWrt
(embedded GNU/Linux, running on a normal home WiFi router)?
For example, is there
At Tue, 14 Apr 2015 21:04:38 -0400, Alexander D. Knauth wrote:
On Apr 14, 2015, at 6:57 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
This is the kind of problem that the readtable argument to
`read/recursive` was meant to solve, but I see that it doesn't work in
this case.
I have
I don't think you're missing anything. I don't often run into this
problem, maybe because libraries I've used tend to keep structs
private. When the problem does show up, I have resorted to using
`_pointer`, too.
At Tue, 14 Apr 2015 17:04:38 -0700 (PDT), Ian Johnson wrote:
I'm trying to
A potential problem with copying files is that the timestamps can get
out of sync. You'll want to make sure that timestamps on the .zo
files stay newer than the timestamps on the .rkt sources.
At Thu, 16 Apr 2015 02:03:31 -0500, Robby Findler wrote:
1) Compilation to .zo files (what raco make
The reader for `#hash` parses parentheses and dots itself, instead of
recurring and checking the result, so that it can provide better error
reporting.
For example, if I write
#hash((x . 1) y (z . 2))
then the reader can highlight y and complain about that part
specifically. If the `#hash`
Unlike setting `current-readtable`, the readtable that you pass to
`read/recursive` applies only for the next thing in the input (roughly,
the processing of the next character).
For example, suppose you want `$` to be the same as `@` if it's
followed by a `(`, but you don't want to change the
)) still reads as ((x . 1) y (z . 2)).
But does this mean that I can’t read hash-tables with this? Or is there a
way
around it without reimplementing #hash, #hasheq, etc.?
Alex Knauth
On Apr 13, 2015, at 4:40 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
Ok, I oversimplified
At Thu, 9 Apr 2015 08:22:12 -0700 (PDT), Jerry Jackson wrote:
The compatibility/mlist module has lots of support functions but I'd
like to be able to apply racket functions to the lists I've
constructed and I don't see any mapply. I understand that the use
of mutable cons cells is discouraged
I don't think keybinding support or slide-changing operations are there
already. My guess is that they'd be easy to add.
At Tue, 19 May 2015 19:30:35 -0700, 'John Clements' via users-redirect wrote:
I’m creating a simple slideshow, and I’d like to be able to jump to a given
slide instantly,
...@easychair.org
Program committee
Carl Friedrich Bolz, DE
William R. Cook, UTexas, USA
Jonathan Edwards, MIT, USA
John Field, Google, USA
Matthew Flatt, USA
Elisa Gonzalez Boix, Vrije Universiteit, BE
Robert Hirschfeld, Hasso-Plattner-Institut Potsdam, DE
Benjamin Livshits
At Tue, 19 May 2015 20:33:57 -0700, Alexis King wrote:
As I've continued to experiment with this, I've run into something that I
don't
really understand. I've managed to come up with this snippet of code.
(define (do prompt-tag)
(define (loop element continue)
(if continue
As you say, you can build the Racket executable using shared libraries
by configuring with `--enable-shared`. Then, when you create an
executable with `raco exe`, you end up with a smaller executable that
refers to the shared libraries.
I'm not sure how much that will save, since an executable
If you uncomment the redirects to stdout and comment out the file
output, then nothing is written to the file, so that changes the
content of `(file-lines soap-file)` the second time around.
I think you wanted `(and (=` in place of `(or (`.
At Tue, 02 Jun 2015 15:25:07 -0400, Mark Lee wrote:
To
The documentation's discussion of drawing in a canvas may be helpful:
http://docs.racket-lang.org/gui/canvas___.html
There was also a similar thread on this list in January, and the exampe
code I posted then may be helpful:
http://lists.racket-lang.org/users/archive/2015-January/065764.html
You can use `code:line` to group terms without parentheses:
(code:line addition + term)
At Thu, 4 Jun 2015 16:53:33 +0200, Jos Koot wrote:
Hi,
I have tried to use defform of scribble to describe the following:
syntax ($ infix-expr) → any
infix-expr ::= addition
addition ::=
Science
115 Waterman St, 4th Floor
Providence, RI 02912
802-458-0637
On Mon, Jun 22, 2015 at 11:39 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
Probably you don't want to work with namespaces, which are intended more
for run-time reflection.
For an example of turning internal definitions
The docs here might help elaborate on Matthias's answer:
http://docs.racket-lang.org/gui/canvas___.html
I'll try adding more links to that information, including from the
`get-dc` method. Maybe it also would be better as its own section in
the overview chapter.
At Mon, 22 Jun 2015 18:07:04
The enclosed big-crunch.rkt library provides a `big-bang/big-crunch`
form that is the same as `big-bang`, but it closes the window with
`stop-when` produces #t. (I wrote it for my son.)
;; isl+
(require 2htdp/image)
(require 2htdp/universe)
(require big-crunch.rkt)
(big-bang/big-crunch 10
I rely on it in this macro here:
https://github.com/AlexKnauth/my-object/blob/master/my-object/stuff.rkt#L25
And Travis CI was giving me this error:
https://travis-ci.org/AlexKnauth/my-object/jobs/68248192#L209
On Jun 22, 2015, at 8:25 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
At Thu
Probably you don't want to work with namespaces, which are intended more for
run-time reflection.
For an example of turning internal definitions into 'letrec-syntaxes+values',
try the implementation of 'racket/block'.
On Jun 23, 2015, at 10:06 AM, Thomas Dickerson thomas_dicker...@brown.edu
At Thu, 21 May 2015 07:15:14 -0600, Matthew Flatt wrote:
Otherwise, be prepared for me to come back in a few
weeks and lobby for moving to a new macro expander.
Here's the proposal: let's switch on July 16. Switch means that I'd
merge the new macro expander to the master branch
At Thu, 11 Jun 2015 20:22:16 +, John Carmack wrote:
How do you include a racket module in an R6RS program?
I have remote.rkt in the same directory as test.scm.
With R5RS I could do (#%require remote.rkt), but that doesn't work, and I
tried various things in the (import) statement
At Wed, 10 Jun 2015 18:44:15 +0200, Michael Titke wrote:
On 10/06/2015 12:33, Michael Titke wrote:
I changed from one OS to another and I was missing a simple feature:
automatic password generation. To fill the gap with a Scheme I
implemented such a generator as a command line tool
At Wed, 17 Jun 2015 12:35:36 -0700 (PDT), Andrew Kent wrote:
On Wednesday, June 17, 2015 at 3:10:51 PM UTC-4, Alex Knauth wrote:
One data point:
I’m using DrRacket version 6.2.0.4--2015-06-08 with OS X Version 10.9.5,
and
if I remember correctly it was a Racket plus Tests 64-bit
Android via NDK is a supported platform. The src/README file has information
on cross-compilation and specific hints for Android. I'm not in a position to
double check just now, but it built the last time I tried a few months ago.
Embedding should be as easy as on any platform. I wouldn't
At Wed, 3 Jun 2015 16:46:09 -0600, William G Hatch wrote:
Its main problem currently is that it spends a lot of time drawing. I
am using a canvas% and I override its dc%'s on-paint to get the contents
and then draw them on screen. I call the refresh method to queue a
re-paint whenever I get
I've pushed a repair for `text-outline` in the draw-lib package.
The implementation of `text-outline` used a small bitmap to accumulate
the path, and Cairo apparently discards paths that are far enough
outside the bitmap's region. The revised implementation uses a
recording surface, instead, to
.:
; = add matching binding.:
; matching binding.: in: add1
I found this because of this Travis CI build failure:
https://travis-ci.org/AlexKnauth/infix-macro/jobs/68245124#L164
On Jun 25, 2015, at 12:31 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
Yes, I overlooked `splicing-local`, and I'll
You're right that there's not a form that's like `except-out` but
constrained both by name and phase. There's also not an export variant
of `only-meta-in`, which would get your half-way there. You could
implement a new provide expander to do that.
Otherwise, in addition to the strategy that you
I have no plans myself, but I think many applications would benefit
from incremental collection. I also think that implementing an
incremental GC for Racket is within reach --- as much as for any
runtime system.
That is, unlike so many other things in our infrastructure, the GC is
not so tangled
At Sat, 04 Jul 2015 17:55:29 -0400, Neil Van Dyke wrote:
Neil Toronto wrote on 07/04/2015 05:29 PM:
I don't know, but I want most of these things. I assume this is
related to your earlier question about games? :)
Partly. :) I've also been dealing with GC for years in non-game HTTP
At Mon, 06 Jul 2015 23:24:20 -0400, Ryan Culpepper wrote:
On 07/06/2015 10:04 PM, Anthony Carrico wrote:
I've been working through Macros that Work Together (on my way to
working through Sets-of-Scopes). I've come across something that is
slightly unclear to me in the section on
A new module sounds right to me. I was thinking `racket/exn-to-string`
for just this function, but `racket/exn` sounds fine and maybe better.
At Sun, 24 May 2015 08:01:23 -0400, Jay McCarthy wrote:
I think it's a good idea. Where to though? A new racket/exn module?
Jay
On Sat, May 23, 2015
I've been working on a new model of macros for Racket. The new model
provides a simple account of scope, makes reasoning about macros
easier, and simplifies the implementation of the macro expander while
fixing bugs (e.g., submodules in Typed Racket).
You can read more about the model here:
And maybe helpful for the original question: Including `(alt-tag
div)` in the property list of your styles produces div in the HTML
output instead of blockquote, which is more directly what you want
and avoids any default inset of blockquote.
At Thu, 21 May 2015 16:52:12 -0400, Shriram
At Thu, 21 May 2015 22:58:04 -0400, Josh Grams wrote:
Also, shouldn't the x's under syntax-rules and in the expansion of
(m) have a 'b' in their scope sets (since they're in the
syntax-rules scope)? Or aren't they?
The `let-syntax` form binds only in its body, not the right-hand sides
of
Adding to the suggestions, you can write something like `test-internal`
and `test-external` submodules plus
(module+ test
(require (submod .. test-internal)
(submod .. test-external)))
At Fri, 22 May 2015 15:23:33 -0400, Matthias Felleisen wrote:
DOn't forget
$ raco test
It's been a few years since I last looked at this. If I remember
correctly, the problem is a mismatch between the `racket/gui` model of
eventspaces and the way that shutdown notifications and responses work
in Cocoa. The mismatch makes it difficult for `racket/gui` to defer its
answer to the OS
At Tue, 18 Aug 2015 10:40:14 -0400, George Neuner wrote:
On Mon, 17 Aug 2015 10:07:11 -0600, Matthew Flatt
mfl...@cs.utah.edu wrote:
The problem is in the clean-up of OS-level locks. A lock is allocated
using a combination of malloc() and pthread_mutex_init(), for example.
The clean up
At Mon, 17 Aug 2015 12:21:41 -0700 (PDT), Jack Firth wrote:
On Monday, August 17, 2015 at 9:07:15 AM UTC-7, Matthew Flatt wrote:
That's an especially basic mistake, and it slipped by because low-level
locks are rarely allocated in the run-time system. Place channels are
probably
PM.png]
On Wed, Jun 17, 2015 at 7:13 PM Matthew Flatt mfl...@cs.utah.edu wrote:
At Wed, 17 Jun 2015 12:35:36 -0700 (PDT), Andrew Kent wrote:
On Wednesday, June 17, 2015 at 3:10:51 PM UTC-4, Alex Knauth wrote:
One data point:
I’m using DrRacket version 6.2.0.4--2015-06-08 with OS X
At Fri, 21 Aug 2015 12:44:08 -0400, Benjamin Greenman wrote:
I'd like to change the result of a 0-arity function, but I need help
crafting the right magic spell. Here's my attempt -- this even possible?
#lang racket/base
(struct wrap (vals)) ;; Wrap a list
(define (create) '())
It looks like there's not a way currently, although I think it would
make sense to add one.
For file extensions generally, I think there should be an info.rkt
field to add extensions that are recognized by all tools that apply to
all collections. That's a larger project, but it's on my near-term
I've pushed changes so that the set of module suffixes is extensible
through a `module-suffixes` definition in a collection's info.rkt.
Adding a new suffix affects compilation and testing in all collections.
(The suffixes .rkt, .scrbl, .ss, and .scm remain hard-wired
in the set.)
Module suffixes
The problem is in the clean-up of OS-level locks. A lock is allocated
using a combination of malloc() and pthread_mutex_init(), for example.
The clean up was usually missing the free() to go along with
pthread_mutex_destroy().
That's an especially basic mistake, and it slipped by because
I'm looking into this. I can confirm that the GC thinks there's no
leak, but the OS thinks there is.
Thanks for the example and info!
At Mon, 17 Aug 2015 16:09:00 +0100, Tim Brown wrote:
Sam,
I don’t see the leak with (display (current-memory-use)) -- sorry for
leaving it in the example,
mac w/ OS X
Yosemite w/ the 6.2 release as well (just to make sure I wasn't crazy or
causing the issue on my machine).[image: Screen Shot 2015-08-18 at 4.07.23
PM.png]
On Wed, Jun 17, 2015 at 7:13 PM Matthew Flatt mfl...@cs.utah.edu wrote:
At Wed, 17 Jun 2015 12:35:36 -0700 (PDT), Andrew
At Tue, 18 Aug 2015 17:45:28 +0200, Paul van der Walt wrote:
I have a bunch of typing judgements and metafunctions which i would now
like to typeset, but the ⟦⟧ characters are not showing up correctly. I
assume this is some kind of fonts problem? Mind you, at some point in
the past (some
Would using select() instead of poll() avoid the problem? You could try
a Racket build that uses select() by changing mzconfig.h as generated
by `configure` to not define `HAVE_POLL_SYSCALL`.
The `configure` script's check for poll() could be disabled easily on
Solaris if using poll() is a bad
We're preparing a v6.2.1 release, which will go out before August 10.
The v6.2.1 build will be a small set of patches to v6.2, i.e., not
derived from the current development branch.
The patches are for the HtDP teaching languages. The main patch for
v6.2.1 is to add an option to restore the old
Also, which version of Racket are you using? With v6.1.1 and
`in-range`, I get
cpu time: 745 real time: 744 gc time: 0
cpu time: 205 real time: 205 gc time: 0
cpu time: 782 real time: 782 gc time: 0
cpu time: 205 real time: 206 gc time: 0
but with v6.2 and `in-range`, I get
cpu time: 209
I think you want to use `in-range`. On my machine, adding `in-range`
makes each loop run 20 times faster --- which means that the original
loops are just testing the performance of the generic sequence case of
`for`.
(Probably we should make `for` recognize and specialize literal
integers, and I
Are you seeing conflicts with different installations that have the
same version number? Or different snapshot installations?
Two settings can help keep installations separate:
* Configure packages for installtion scope instead of user scope
by default.
You can check the current default
At Fri, 31 Jul 2015 15:03:53 +0100, Laurent wrote:
I don't really understand why `in-range` makes such a difference. It looks
like the kind of sequence iterator is tested at each step, whereas I was
expecting it to be tested only at the beginning of the loop, since this
sequence iterator kind
At Wed, 29 Jul 2015 06:28:48 -0700 (PDT), Klaus Ostermann wrote:
I'd like to have a macro let-cbn which does this:
(let-cbn ((x1 e1) ...) body)
is transformed to
(let ((x1 (thunk e1)) ...) newbody)
where newbody is the result of replacing every occurence of x1... by (x1)... .
What
At Wed, 29 Jul 2015 07:00:54 -0700 (PDT), Klaus Ostermann wrote:
Units are not allowed to export macros, presumably because the unit wiring
takes place after the macro expansion.
I have a unit and would like to define a few macros based on the interface of
that unit.
Right now I
I fixed the minor issue, but I haven't been able to figure out how
`send-new-place-channel-to-named-dest` is meant to work, either. (I'll
try again to contact Kevin.)
At Thu, 6 Aug 2015 11:32:29 +0100, Tim Brown wrote:
On 06/08/15 11:29, Tim Brown wrote:
(define node (create-place-node
Does `(current-subprocess-custodian-mode 'kill)` combined with Cmd-k
(for kill, instead of break) make the subprocess terminate?
If so, you could use `dynamic-wind` or catch `exn:break` exceptions,
possibly put the subprocess under its own custodian, and so on.
At Sun, 9 Aug 2015 15:17:19 +0200,
At Sat, 15 Aug 2015 06:37:21 -0700 (PDT), Brian Adkins wrote:
The Raspberry Pi has a 4 core CPU, so it pains me to see it pegged at
only 25% this whole time. Is it possible to build Racket from Unix
Source in parallel to get all 4 cores fired up?
You can use
make install PLT_SETUP_OPTIONS=-j
I think that's the only safe way to make a thread keep running outside
the custodian that will be killed.
If starting a program under another custodian is too much of a hassle,
you could access the root custodian via the FFI and create a thread
owned by it. See the implementation of
The problem here is the same as in
https://groups.google.com/d/msg/racket-users/H7vilh3KcD4/pGZif3F3dEkJ
I still haven't thought about it enough to fine better solution than
putting `require (only-in racket/base #%module-begin))` before the
submodule declaration.
At Thu, 30 Jul 2015 16:46:34
, anyway.
At Fri, 7 Aug 2015 22:36:32 -0500, Alexander D. Knauth wrote:
Oh, thanks!
That makes sense.
On the off chance that you have an idea, is there a good way of doing this
that doesn't require b being able to see c?
On Aug 7, 2015, at 10:23 PM, Matthew Flatt mfl...@cs.utah.edu wrote
At Sat, 08 Aug 2015 16:19:23 +0100, Paulo Matos wrote:
Where can I find the code for :
http://docs.racket-lang.org/search/index.html
It's in scribblings/main/private in the racket-index package:
https://github.com/plt/racket/tree/master/pkgs/racket-index/scribblings/main/private
--
You
I've updated `racket/draw` to restore support for writing BMP files.
At Sun, 26 Jul 2015 11:55:51 -0400, 'John Clements' via Racket Users wrote:
On Jul 23, 2015, at 2:47 AM, copycat kangren.c...@gmail.com wrote:
Yes, i can and will try with the old imagemagick bindings.
On Thursday,
At Sun, 26 Jul 2015 22:42:48 -0700 (PDT), Слава ПолноеИмя wrote:
Sorry, list, for dumb unprofessional question, but I'm not even amateur
programmer)
How can I convert string and floats to bytes, that can be passed to udp-send?
Tried real-floating-point-bytes and string-bytes/utf-8 but it
At Mon, 27 Jul 2015 19:32:32 +, John Carmack wrote:
Is it possible to continue execution after a ^b user break in DrRacket (not
debugging)? It would often be useful to be able to ^b, print some global
state, set some flags, and continue running.
The `exn:break` exception record includes
At Wed, 22 Jul 2015 18:41:14 +0200, mazert wrote:
Le 14/07/2015 18:12, Matthew Flatt a écrit :
If you're trying to move the text from one editor to another, then
it's probably easiest to use the `copy` and `paste` methods.
No, I try to convert it into html format. But first i need to get
Yes, this is a limitation of `raco pkg` that is on my list to repair.
It happens when a file is removed from a linked package, such as the
packages in pkgs, and only when the corresponding .zo file is not
yet deleted. It's not an actual conflict, because `raco setup` will
soon remove the .zo
:
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
The documentation's intent is to describe about syntax objects that
represent an expanded expression. When you write
(define stx #'(let ([x 5]) (+ x 6)))
then the syntax object `stx` doesn't represent an expansion. Instead,
it's a pile symbols and pairs, all with the same lexical context (taken
At Sat, 25 Jul 2015 19:58:05 +, John Carmack wrote:
Anyone got one handy? Lazily attempting to avoid the day of frustration that
usually comes from touching anyone else's NDK project...
Untested, but possibly useful:
At Thu, 23 Jul 2015 19:57:52 -0700 (PDT), copycat wrote:
On Thursday, July 23, 2015 at 2:50:37 PM UTC+8, copycat wrote:
With a list box, i can select multiple items by holding onto my mouse and
dragging. I'll like to add on other features to the list box like being able
to drag the rows to
At Thu, 23 Jul 2015 15:07:53 -0700, Jordan Johnson wrote:
What are the appropriate function and the preferred practice for referring to
struct fields in a Scribble document? For example, if I’m writing the
defstruct* body text and want to say, “the x field is intended for blah blah
blah”,
At Fri, 17 Jul 2015 16:58:50 +0200, mazert wrote:
Le 17/07/2015 16:16, Matthias Felleisen a écrit :
This actually works. But I am not sure why you'd want to do something like
that.
Ah yes, letrec is what I was looking for :) . The goal was to test a
port with a specific timeout (here I
At Mon, 13 Jul 2015 17:58:36 +0200, mazert wrote:
I have a text% inside an editor-canvas% object, and I write some text
then I apply to it a blue color for example.
When i want to get the text with get-text method, i only get the text
without formatings. Is there a way to get the text with
At Wed, 15 Jul 2015 22:48:26 -0300, Gustavo Massaccesi wrote:
But perhaps the problem is in the code that tracks the single_use
value. After 'dup' is applied, 'rep' is not long a singled used
function.
Yes, I think that's the problem. I thunk I have a repair to update
single-use tracking
At Fri, 17 Jul 2015 15:16:34 +0800, Mianlai Zhou wrote:
I have the following code:
#lang racket
(require slideshow racket/class racket/gui/base)
(define my-frame (new frame% [label My chess]
[width 300] [height 391]
That was a bug in the revised implementation of `define-generics` for
the new expander. I've pushed a repair.
At Sun, 19 Jul 2015 22:34:36 -0400, Alexander D. Knauth wrote:
This is a simplified example of something that worked in racket version
6.2.0.4 from 2015-06-08, but is now broken in
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 in the expander, and I have a
repair, but I think that repair might point to another bug that I'm
still investigating.
At Mon, 20 Jul 2015 12:56:49 -0400
Thanks for the info. I think it's a bug in the expander, and I have a
repair, but I think that repair might point to another bug that I'm
still investigating.
At Mon, 20 Jul 2015 12:56:49 -0400, Alexander D. Knauth wrote:
I don't really know what's going on, but this might help:
;; It seems
At Fri, 23 Oct 2015 08:47:36 -0600, Matthew Flatt wrote:
> At Fri, 23 Oct 2015 08:07:09 -0600, Matthew Flatt wrote:
> > Here's an updated build with the current release candidate:
> >
> >
> > http://release-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.co
tained permanently.” But
> worse than that, the cycle can be through a second mapping:
>
> > (define ht (make-weak-hasheq))
> > (let ([a (gensym)]
> > [b (gensym)])
> > (hash-set! ht a b)
> > (hash-set! ht b a))
> > (collect-garbage)
> > (hash-count
I think a per-version switch would be reasonable.
Another approach is to register a different checksum of the package for
v6.2.1 and earlier releases, or create a shim for
`make-syntax-introducer` that resides in its own package that has
different implementations for different releases. To me,
I don't think there's any reason for the omission aside from it not
being implemented. A patch to add that support to
`syntax/module-reader` would be welcome.
At Sun, 25 Oct 2015 01:07:22 -0700, Alexis King wrote:
> When discussing custom `read` and `read-syntax` implementations, the Racket
>
This role of marks has been taken over by macro-introduction scopes, so
that's still the explanation. A macro-introduction scope is added to
the right places by first adding it everywhere to the argument to a
macro transformer, then flipping it everywhere in the transformer's
result.
(The
1 - 100 of 942 matches
Mail list logo