At Fri, 15 Jun 2012 15:09:15 -0600,
Ryan Culpepper wrote:
The 'stx-*' functions work on values that aren't syntax objects, so
renaming them to 'syntax-*' would be misleading.
Given the name, I would have thought they only worked on syntax
objects.
Roughly,
stx = syntax | null | (cons
At Tue, 05 Jun 2012 22:05:26 -0600,
Neil Toronto wrote:
Thanks! I've adapted it and will commit the changes with the ones to
racket/math.
Great, thanks!
I've managed to make it always find a counterexample. But there are only
a few single-flonum - flonum issues. Most of them are because
At Wed, 9 May 2012 18:13:55 -0400,
Asumu Takikawa wrote:
Ideally, we would provide similar interfaces for the other generic APIs
in the tree, such as streams and sequences. However, the existing APIs
rely on different representations for method tables from the one used by
unstable/generics,
I don't think that's what Marijn was suggesting.
I understood it as:
(define-syntax-rule (define-complex real-name imag-name rhs)
(define real-name (real-part rhs))
(define imag-name (imag-part rhs)))
(define-complex r i 1+2i)
=
(begin
(define r (real-part 1+2i))
Fixed. Thanks for the report!
Vincent
At Mon, 30 Apr 2012 09:16:37 -0700,
Eric Hanchrow wrote:
diff --git a/collects/scribblings/reference/sets.scrbl
b/collects/scribblings/reference/sets.scrbl
index d9ea0c6..44cc41d 100644
--- a/collects/scribblings/reference/sets.scrbl
+++
At Wed, 18 Apr 2012 09:00:16 -0600,
Ryan Culpepper wrote:
- Typed Racket Tests
Done.
Vincent
_
Racket Developers list:
http://lists.racket-lang.org/dev
`evcase' is currently provided by `mzlib/etc'.
Should we provide it in `racket' as well?
Vincent
At Mon, 12 Mar 2012 16:53:14 -0400,
Matthias Felleisen wrote:
see evcase
On Mar 12, 2012, at 4:45 PM, Rüdiger Asche wrote:
Hi there,
why is the Zero alias replaced correctly in
.
http://git.racket-lang.org/plt/ffcda4741f..249c1cc666
=[ 1 Commits ]==
Directory summary:
91.8% collects/racket/
8.1% collects/scribblings/reference/
~~
249c1cc Vincent St-Amour stamo...@racket-lang.org 2012-02-28
At Mon, 27 Feb 2012 16:39:33 -0500,
Eli Barzilay wrote:
Is there really a need for an N+1 way to do this?
This is a common idiom, and there was no way to make it as convenient
as it should be. Yes, it's easily implementable in terms of
`build-list' or `in-range' but having to roll your own every
At Mon, 13 Feb 2012 01:05:57 -0500,
SF wrote:
While trying to refine that sketch I had the idea to extend the stem
for a dynamic look, perhaps this would fit better in a circle:
http://i.imgur.com/IywqK.png
+1
That's my new favorite.
Vincent
_
Racket Developers
At Mon, 13 Feb 2012 09:54:58 -0500,
Philippe Meunier wrote:
For some reason it slightly reminds me of a symbol for some religious
cult or political party, which might or might not be a good thing.
Were you thinking of this?
http://en.wikipedia.org/wiki/Chi_Rho
Vincent
_
At Sun, 12 Feb 2012 01:50:33 -0500,
Eli Barzilay wrote:
http://tmp.barzilay.org/cr.png
I like this one. I really like the idea of combining lambda with
parentheses. The unbalanced paren bothers me a bit though.
The pun can even be taken further by adding a ( on the left, smaller
and fading
At Sun, 12 Feb 2012 11:01:44 -0800,
John Clements wrote:
I like this general idea. It seems to me that we're headed toward
some kind of translucent ball with bands around it. If the sideways
band is more visible through the ball, you get the R effect that
people are seeing.
This loses the
At Fri, 3 Feb 2012 02:06:41 -0500,
Stephen Chang wrote:
To go back to the most recent bookmark, either use the right-click
menu, or press C-x r (is this an appropriate key binding? I chose it
because emacs similarly uses C-x r to do bookmark-related stuff).
Emacs uses C-x r for rectangle
At Tue, 20 Dec 2011 13:45:26 -0500,
Eli Barzilay wrote:
(c) I'd get rid of the why racket section -- I don't see anything
there that doesn't induce yawnage,
I disagree. This paragraph advertizes our high-quality libraries and
IDE. Both of these are great selling points, and our current website
At Tue, 20 Dec 2011 15:28:54 -0500,
Eli Barzilay wrote:
I'm not opposed to having *some* Why Racket? text, just to the
particular text:
I agree with most of your points about the specifics of the text.
| Based on over 15 years of research and practical experience,
*yawn*
On the one hand,
This looks useful to me.
I think this belongs in `unstable/sequence' for now, with the other
new sequence constructors.
I'll merge it.
Thanks for the patch!
Vincent
At Thu, 15 Dec 2011 22:47:44 -0500,
David Vanderson wrote:
I only got one comment (thanks John), so I'm resending for more
At Mon, 28 Nov 2011 11:54:06 -0500,
Matthias Felleisen wrote:
I propose
1. to remove the menu and its functionality
2. to add a macro disable-tests-below
3. and be prepared to add a macro enable-tests-below.
`disable-tests-below' makes it easy to accidentally skip running tests
At Wed, 2 Nov 2011 11:21:24 -0400,
Sam Tobin-Hochstadt wrote:
* DrRacket comes with an experimental, on-line check syntax
function. By default, it is turned off. To turn it on, right
click on the red circle in the buttom right corner of the DrRacket
window. Warning: turning this on
I just pushed all 3. Thanks for the patches!
Vincent
At Sat, 22 Oct 2011 14:47:41 -0700,
Eric Hanchrow wrote:
---
collects/scribblings/guide/unit.scrbl |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/collects/scribblings/guide/unit.scrbl
At Sat, 1 Oct 2011 12:41:26 -0400,
Stephen Bloch wrote:
I think Vincent was proposing that round continue to return an
integer (which makes sense -- that is its raison d'etre) but that all
integers be exact. At present, round always returns an integer, but
this integer is exact only if the
At Fri, 30 Sep 2011 11:31:47 -0500,
Robby Findler wrote:
Just to clear up one more possible point: the rational? predicate
actually recognizes inexact numbers, eg:
[robby@penghu] ~/git/plt/collects/drracket/private$ racket
Welcome to Racket v5.1.3.9.
(rational? (sqrt 2))
#t
This is
At Fri, 02 Sep 2011 09:15:20 +0200,
Marijn wrote:
I just tried with latest git and nothing has changed for me. Neither
the wrong message, nor the failing executable.
You're building executables from DrRacket, right?
Does it work if you build them from the command-line, with `raco exe'?
I had a similar problem on Linux x86. Matthew just pushed a fix, and
now everything works for me. Haven't tried on amd64, though.
Vincent
At Thu, 01 Sep 2011 16:24:02 +0200,
Marijn wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi list,
when creating executables from racket,
Here's the simplest example I could come up with:
In `dummy.rkt':
#lang s-exp dummy-lang.rkt
In `dummy-lang.rkt':
#lang racket/base
(provide (rename-out (module-begin #%module-begin)))
(require (for-syntax racket/base))
(define-syntax (module-begin stx)
I love DrDr, but there's a small thing that annoys me about it.
Some tests are prone to intermittent failures. For example, some
benchmarks need to create a file, and several benchmarks share the
same file, which leads to race conditions. Similarly, some DrRacket
tests sometimes fail for focus
At Mon, 8 Aug 2011 10:59:24 -0500,
Robby Findler wrote:
FWIW, please try to avoid race conditions of the second kind.
Some of these I can try to fix. But I don't think all intermittent
failures fit in this category.
I think the drracket test suites are special because they fail
not-so-often
At Mon, 8 Aug 2011 11:06:30 -0500,
Robby Findler wrote:
On Mon, Aug 8, 2011 at 11:05 AM, Vincent St-Amour stamo...@ccs.neu.edu
wrote:
At Mon, 8 Aug 2011 10:59:24 -0500,
Robby Findler wrote:
FWIW, please try to avoid race conditions of the second kind.
Some of these I can try to fix
At Fri, 5 Aug 2011 03:22:07 -0400,
Eli Barzilay wrote:
The problem is that the meta collection is not intended for
distribution. Even if it's moved to some collection that will get
included, it's an abuse of what `collects' means at the moment.
I see. How about a `contrib' directory at the
I've added an updated version of the document to the Guide.
If you think it's not in the right place, I'm fine with putting it
elsewhere.
Vincent
At Thu, 04 Aug 2011 16:30:47 -0400,
Vincent St-Amour wrote:
As I mentioned at RacketCon, I've been working (with help from Asumu
Takikawa
At Thu, 4 Aug 2011 12:11:27 -0400,
Matthias Felleisen wrote:
One of the responses to the draft of the Racket style guide contains the
following paragraph:
There should be unified way to test collections. Let's say I fix
something in collect `foo', there should be an obvious way to
As I mentioned at RacketCon, I've been working (with help from Asumu
Takikawa and Jon Rafkind) on a document that provides pointers to
tools for using Racket with popular text editors.
I now have a draft of it on my webpage:
I agree with most of your points, and will fix the document
accordingly.
At Thu, 4 Aug 2011 17:02:26 -0400,
Eli Barzilay wrote:
I'd also like feedback on the document itself. It's not especially
detailed, and I'm sure I forgot a lot of useful things.
* xrepl should be mentioned at the top,
At Tue, 2 Aug 2011 11:11:55 -0400,
Eli Barzilay wrote:
6 minutes ago, Sam Tobin-Hochstadt wrote:
No, the issue is that 5.1.1 doesn't work at all on Lion, and we
should emphasize that the new release does work.
Suggestions?
- Racket now supports Mac OS X Lion.
I don't think there's much
At Mon, 1 Aug 2011 11:57:06 -0400,
Sam Tobin-Hochstadt wrote:
* Sam, Vincent: TR news? (Many new types from Eric Dobson?
Optimizer logs?)
Almost all core Racket data structures and operations now work with
Typed Racket (most of this work is due to prolific contributor Eric
Dobson).
I'd
At Fri, 17 Jun 2011 14:51:29 -0400,
Eli Barzilay wrote:
I don't know why more of these are needed (they seem to be growing
exponentially), but this:
I need racketmod+interaction for some docs I'm currently writing. So I
added the others for consistency's sake.
+(define-syntax
At Wed, 8 Jun 2011 10:15:58 -0500,
Robby Findler wrote:
On Wed, Jun 8, 2011 at 9:21 AM, Eli Barzilay e...@barzilay.org wrote:
In any case, I do take compatibility as a priority, so I'm suggesting
allowing both orders for this case.
I did not mention this (remaining silent in response to
At Fri, 6 May 2011 11:22:48 -0400,
Matthias Felleisen wrote:
1. Python seems to provide the following unit testing functionality:
if a file/module is run as 'main', the test suites are run;
if it is required into some other file, the tests aren't run.
It looks truly convenient. I
Fixed. Thanks for the report!
Vincent
At Wed, 27 Apr 2011 11:14:48 +0200,
Pierpaolo Bernardi wrote:
BTW, I think there are a couple of typos in:
15.2 Ephemerons
An ephemeron [Hayes97] is a generalization of a weak box (see Weak
Boxes). Instead of just containing one value, an
I've had a quick look at your patch, and it looks good to me. Did you
make sure that all of TR's tests still pass?
I'll pull that and commit it for you.
Vincent
At Tue, 26 Apr 2011 14:19:38 -0400,
Eric Dobson wrote:
I have added support for ephemerons to Typed Racket, and submitted a pull
ms11.521.20tak7916 ms11.021.00takl8252 ms1.621.131triangle6862 ms11.211.27
At Sun, 24 Apr 2011 22:09:18 -0400,
Vincent St-Amour wrote:
These are impressive speedups!
Given how close we were to the fastest Scheme compilers on some of
these, that may be enough to give us the lead.
I'll run
These are impressive speedups!
Given how close we were to the fastest Scheme compilers on some of
these, that may be enough to give us the lead.
I'll run the benchmarks on different implementations tomorrow.
Vincent
At Sun, 24 Apr 2011 17:11:21 -0600,
Matthew Flatt wrote:
The `assoc'
At Fri, 22 Apr 2011 14:34:16 -0600,
Matthew Flatt wrote:
I would like to look closely at this. Can you send me a patch?
Sure, I'll tidy it up and send it to you.
Vincent
_
For list-related administrative tasks:
Good idea. I'll look into that.
Vincent
At Fri, 22 Apr 2011 17:09:51 -0400,
Eli Barzilay wrote:
40 minutes ago, Vincent St-Amour wrote:
With this patch, assoc and member are implemented in Racket. They
are currently implemented in C. I haven't measured the performance
impact
At Wed, 09 Feb 2011 14:28:53 -0700,
Jon Rafkind wrote:
Vincent:
4ac36fd59bc35cb0d60cb050cfaae21d213064c8
Added the new single-precision float function to TR.
ac76d963b0e4b70c17753b22833c630f3d71cd1b
Enable single-precision floats by default.
46f086282d7302e7e015109c9f945a92350e384c
At Mon, 31 Jan 2011 17:50:56 -0500,
Ryan Culpepper wrote:
- Typed Scheme Tests
Done.
Vincent
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/dev
At Fri, 7 Jan 2011 11:39:33 -0800,
John Clements wrote:
Taking a step back: is there really anything wrong with such commits? Given
that drdr and e-mail alerts are based on pushes rather than commits, it seems
not unreasonable to just let those be intermediate commits. I can see that
Single and double precision floating-point numbers have different read
syntax but print the same way.
Welcome to Racket v5.0.99.6.
1.0e0
1.0
(flonum? 1.0e0)
#t
1.0f0
1.0
(flonum? 1.0f0)
#f
Is this a bug?
Also, it seems there's no read syntax for single-precision specials
(nan and
At Mon, 13 Dec 2010 16:43:58 +0100,
Jos Koot wrote:
Would we not have the same problem with 'rational?'.
All reals, both exact and inexact ones are rationals (for the obvious reason
that we cannot represent every irrational number in finite memory)
Would we not need the same distinction
% collects/tests/racket/benchmarks/common/
16.3% collects/tests/racket/benchmarks/shootout/
11.8% collects/typed-scheme/scribblings/
48.4% collects/typed-scheme/typecheck/
7.6% collects/typed-scheme/types/
7.2% collects/typed-scheme/
~~
2172328 Vincent St-Amour stamo...@racket
At Sun, 3 Oct 2010 05:43:52 -0600,
Matthew Flatt wrote:
Sam and Vincent: Any thoughts on how easy or difficult the change would
be for Typed Racket (and its optimizer)?
It depends on how the 32-bit floats are integrated with the
library. If the existing library keeps using 64-bit floats as the
Yep, that worked.
Thanks!
Vincent
At Thu, 19 Aug 2010 12:11:09 -0600,
Matthew Flatt wrote:
Should be fixed, now.
At Thu, 19 Aug 2010 12:53:48 -0400, Vincent St-Amour wrote:
I just tried updating racket on my Mac OS PPC machine, and jit.c does
not compile. The same revision builds fine
Last week at PLT day, there was some discussion about code review, and
how to potentially integrate it with our workflow.
I found the following tool which may help:
http://code.google.com/p/gerrit/
If I understand correctly, commits that are pushed don't go directly
to the main repository;
That was fast! Thanks!
Vincent
At Tue, 3 Aug 2010 12:49:03 -0600,
Matthew Flatt wrote:
At Tue, 03 Aug 2010 14:34:40 -0400, Vincent St-Amour wrote:
While writing documentation, I came across cases where I would have
wanted to link to technical terms (using the tech function) without
At Fri, 18 Jun 2010 08:38:24 -0500,
Robby Findler wrote:
We're talking about this code, right?
http://shootout.alioth.debian.org/u32/program.php?test=mandelbrotlang=racketid=2
It is already unsafe, I think?
No, it uses fl+ and friends. An unsafe version would use unsafe-fl+
instead.
At Fri, 18 Jun 2010 10:05:57 -0500,
Robby Findler wrote:
Perhaps it suggests a bug in the interaction between that fancy
require operator and the optimizer?
Actually, the benchmark on the shootout webpage is named
mandelbrot-unsafe.rkt in the repository. The version I had in mind is
101 - 156 of 156 matches
Mail list logo