On Mar 11, 2009, at 12:28 AM, Chongkai Zhu wrote:
Macro step on the following code with standard hiding (or as long as
mzscheme syntax is hidden):
(require scheme/package)
(define-syntax-rule (d t)
t)
(match (d 1)
(x x))
(define-package p #:all-defined
(match (d 1)
(x x)))
The (d 1) in
Does anyone mind if I add a new rule for module pretty-printing? The
current rule is two up, rest as expr-list, which leads to things like
this:
(module m lang
(define-syntax
name ;; --
(syntax-rules ()
((_)
'ok
The new rule would be two up, rest as
Matthias and I worked on a macro solution to this problem (or
something similar) a while ago. We didn't figure out The Right Way,
but we might have something Good Enough for your purposes :)
If you want, I can dig up and update the code and send it to you.
Ryan
On Mar 16, 2009, at 4:33
On Mar 18, 2009, at 3:35 AM, Eli Barzilay wrote:
* Ryan Culpepper ry...@ccs.neu.edu
- Macro Debugger Tests
- Syntax Classifier Tests
Done.
_
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev
Chongkai Zhu wrote:
If I put my macro in a helper function with define-for-syntax, then the
macro stepper will not show expansion of anything inside this macro
For example,
(define-for-syntax (f stx)
(syntax-case stx ()
((_ p ...)
#'(begin p ...
(define-syntax my-begin f)
I've adapted the code from syntax/boundmap to use the new v4-style names
(get-ref, put!-set!, etc) and support the new dict interface (in
scheme/dict), including both mutable and immutable variants. I'd like to
add it as a new module in the syntax collection.
I'm looking for opinions about
Stevie Strickland wrote:
On Mar 26, 2009, at 12:28 AM, Ryan Culpepper wrote:
I'm looking for opinions about noun phrases to replace
'identifier-mapping'. I'd prefer something shorter.
...
Here are some that I've thought of:
id-table
id-hash
Any particular reason you didn't consider id-map
On Mar 26, 2009, at 3:27 AM, Robby Findler wrote:
How about not including the bound- and free- prefixes in the
lookup functions?
I can think of three main alternatives for providing access to the
operations:
1. Provide specific procedures (eg, 'bound-id-table-ref') and also
implement a
Eli Barzilay wrote:
Here's a suggestion for a small addition to `scheme/base', with the
obvious meaning:
(with-hash hash key expr)
Lookup key in hash and return the found value. If there is
no value evaluate expr, store it in hash for the key, and
return it.
[...]
Any
Eli Barzilay wrote:
On Mar 27, Ryan Culpepper wrote:
Eli Barzilay wrote:
Here's a suggestion for a small addition to `scheme/base', with the
obvious meaning:
(with-hash hash key expr)
Lookup key in hash and return the found value. If there is
no value evaluate expr, store
Robby Findler wrote:
I'd like to create a branch from a specific revision. I tried this:
svn copy http://svn.plt-scheme.org/plt/trunk/collects/re...@14919
http://svn.plt-scheme.org/plt/branches/robby/redex-pat
but got the usual please give me your password message which I now
interpret as
* Ryan Culpepper ry...@ccs.neu.edu
- Macro Debugger Tests
- Syntax Classifier Tests
Done.
_
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev
Eli Barzilay wrote:
Below are the pending announcement items, followed by items I have so
far. Please mail me new items and/or edits.
--
[Ryan]
* macro-debugger stuff (disable lift errors; fixed opaque variable
ref bug)
*
Dave Gurnell wrote:
Robby wrote:
Hi all (Ryan?): I've got a question about pgsql. From what I can tell,
string data is stored in the database in the latin-1 encoding
(sql-data.ss line 191), but is then retrieved from the database in the
utf-8 encoding (io.ss line 205). Am I getting that right?
Ryan Culpepper wrote:
Robby Findler wrote:
Thanks for the reply, Dave!
The encoding of my database is SQL_ASCII which, IIUC, means that the
bug really is in the SCheme code side for putting the data in one way
and expecting it to come out the other way.
The server has a communication
Robby Findler wrote:
Did someone do an svn cp somehow related to the file
collects/tests/typed-scheme/succeed/pr9053-2.ss?
If so, I think svn cp shoudl be permanently banned from now on. If you
want to rename, you just lose the history. Tough shit.
I assume there's mergeinfo on that file and
On Aug 12, 2009, at 11:55 AM, Robby Findler wrote:
Perhaps mzscheme should not signal errors for .zo files that are the
wrong verison, but instead just ignore them?
Yes!
+1
Actually, is there something one can put in .mzschemerc to load the
compilation manager? Would that also fix the
On Aug 27, 2009, at 4:56 PM, Matthias Felleisen wrote:
Switching to Module in drscheme immediately produces this error
message
Welcome to DrScheme, version 4.2.1.7-svn27aug2009 [3m].
Language: Module; memory limit: 256 megabytes.
Module Language: invalid module text
send: no such method:
Is this an uncommitted local file of yours? The htdch collection is gone.
Ryan
Matthias Felleisen wrote:
setup-plt has been suffering from this ugly mess for a couple of days now:
setup-plt: error: during making for htdch/Examples
setup-plt: load-handler: expected a `module' declaration
* Ryan Culpepper ry...@ccs.neu.edu
- Macro Debugger Tests
- Syntax Classifier Tests
Done (committed bug fix to macro stepper, r16173)
Ryan
_
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev
On Oct 1, 2009, at 4:01 PM, Casey Klein wrote:
Can someone explain why this macro expands without error in a module
but not in the REPL?
(define-syntax (m stx)
(syntax-case stx ()
[(_ x)
(with-syntax ([(y) (generate-temporaries (syntax (x)))])
(syntax (define (y) y)))]))
(m q)
On Oct 1, 2009, at 4:19 PM, Robby Findler wrote:
What is the difference between generate-temporaries and gensym?
'generate-temporaries' returns identifiers that don't have an
associated '#%top' binding, but 'gensym' returns a symbol, which gets
coerced into an identifier using the lexical
Eli Barzilay wrote:
The possible final release announcement is below.
Ryan: you're the last thing I need.
--
PLT Scheme version 4.2.2 is now available from
http://plt-scheme.org/
* DrScheme now, by default, compiles all of
Dave Herman wrote:
;;; (real-float x) - inexact-real?
;;; x : real?
;;; Returns an inexact real (i.e., a float) given real x. Raises an
error if x
;;; is not a real. This can be used to ensure a real value is a float,
even in
;;; unsafe code.
(define (real-float x)
(if (real? x)
On Nov 10, 2009, at 12:20 PM, Matthias Felleisen wrote:
[...]
2. Which brings me to the topic of delivery by component.
Apparently few, if anyone here, is aware of Eli's carefully arrange
delivery layers:
-- smallest: plain mzscheme, no mred, no docs
-- mid size: mred, drscheme, no docs
Congratulations on your initial release!
My question: How do futures relate to the existing constructs, such as
thread-local cells, parameters, and custodians? (Eli raised some
questions about the last one. It would be nice to fit futures
gracefully into the existing framework.)
It would
--
[...]
* Ryan Culpepper ry...@ccs.neu.edu
- Macro Debugger Tests
- Syntax Classifier Tests
Done.
Ryan
_
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev
Robby Findler wrote:
Matthew suggested a change to the language dialog that I've just now
checked in. Please give it a try and let me know what you think.
I think the explanatory text under the first option should be replaced
with something like the following:
Typical language
Eli Barzilay wrote:
On Jan 29, Robby Findler wrote:
On Thu, Jan 28, 2010 at 11:32 PM, Eli Barzilay e...@barzilay.org wrote:
How about updating the line at the bottom of the frame based on
the language found also? That is, instead of Module, it should
say something like Module: scheme or
Robby Findler wrote:
On Fri, Jan 29, 2010 at 10:27 AM, Eli Barzilay e...@barzilay.org wrote:
On Jan 29, Ryan Culpepper wrote:
Eli Barzilay wrote:
On Jan 29, Robby Findler wrote:
On Thu, Jan 28, 2010 at 11:32 PM, Eli Barzilay e...@barzilay.org wrote:
How about updating the line at the bottom
About two months have passed since the creation of the unstable
collection. I think it's a good time to have the first round of
promotion discussions. The idea of unstable is to give facilities a
temporary home in a public place while the interface and behavior
settles down. Once that
-definition-context-apply
These could all go into scheme/base, since they're all related to
other procedures already in scheme/base. Or (some/all) could go into a
new library. Thoughts?
Ryan
On Feb 3, 2010, at 3:51 PM, Ryan Culpepper wrote:
About two months have passed since the creation
On Feb 23, 2010, at 3:20 PM, Matthew Flatt wrote:
At Tue, 23 Feb 2010 14:09:02 -0500, Carl Eastlund wrote:
Just like we don't call make-hash make-dict, because there are many
kinds of dicts,
Does anyone use dictionaries other than hash tables? So far,
`scheme/dict' doesn't seem to be worth
On Feb 23, 2010, at 4:02 PM, Robby Findler wrote:
Ryan, Jay: does it make sense to put some of that code into
scheme/dict? (I realize that I shoudl probably be using dicts more,
since I often have little mappings here and there with some concrete
thing that would be easier to read if I used the
For racket, I propose we make the namespace argument to the 'eval'
function mandatory. It's currently optional, and one-arg 'eval' is an
attractive nuisance. If programmers have to specify the evaluation
context---especially if they have to read up on namespaces to figure out
how to get
Sam Tobin-Hochstadt wrote:
On Wed, Mar 17, 2010 at 5:48 PM, Ryan Culpepper ry...@ccs.neu.edu wrote:
For racket, I propose we make the namespace argument to the 'eval' function
mandatory. It's currently optional, and one-arg 'eval' is an attractive
nuisance. If programmers have to specify
Robby Findler wrote:
On Mon, Mar 29, 2010 at 6:33 PM, Matthias Felleisen
matth...@ccs.neu.edu wrote:
On Mar 29, 2010, at 7:18 PM, Jay McCarthy wrote:
I believe that you've thought about this more than me.
I am not sure but I sure had a head-start on you. Plus it is my
distinct impression
Matthew Flatt wrote:
At Tue, 6 Apr 2010 14:12:35 -0400, Carl Eastlund wrote:
[...]
I like being able to read something and know whether it is (a) a
definition form and (b) introducing new bindings into the current
scope. If we changed, for instance, define-signature to simply
signature, there
My vote, most preferred to least:
'(3 1B 1A 2)
Ryan
_
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev
((racket rkt
racket raco)
(racket racket-tool
racket rktool))
Ryan
Robby Findler wrote:
Below is a list of the pairs of names that were posted in the previous
thread. Some of them were silly (several of mine were) and perhaps
others picked silly ones too. Please sort the list to indicate
John Clements wrote:
On Apr 27, 2010, at 11:31 AM, sstri...@ccs.neu.edu wrote:
The story for rebasing isn't quite as clear-cut as I presented if
you're pushing out of a clone, because you'll also have to fix the
history on your regular repo via a similar rebase when you update that.
So I
On 05/26/2010 10:32 AM, Carl Eastlund wrote:
On Wed, May 26, 2010 at 10:27 AM, Matthias Felleisen
matth...@ccs.neu.edu wrote:
On May 25, 2010, at 8:48 PM, Matthew Flatt wrote:
#lang racket
;; Report each unique line from stdin:
(let ([saw (make-hash)])
(for ([line (in-lines)])
On 05/27/2010 12:10 PM, Eli Barzilay wrote:
Checklist items for the v5.0 release
(using the v4.90.0.1 release candidate build)
[...]
* Ryan Culpepper ry...@ccs.neu.edu
- Macro Debugger Tests
- Syntax Classifier Tests
Done
I propose to add a new collection called unstable to serve as a
place to put small libraries that might be of general use but either
don't fit or aren't ready for any of the existing locations. For
example, a graph traversal algorithm using an idiosyncratic list-based
graph representation
Eli Barzilay wrote:
On Nov 6, Ryan Culpepper wrote:
Eli Barzilay wrote:
-1, overall.
Random points:
* There was/is already mzlib/etc which wasn't successful.
If you're talking about the module formerly known as (lib etc.ss),
that's irrelevant for a number of reasons. First, I never saw
for
the latter.)
If you want to fix the other problem, go for it. But shouting Be it
so! doesn't seem to work.
On Nov 6, Ryan Culpepper wrote:
Eli Barzilay wrote:
(Leaving beind an unstable library that I'm using, and nobody
owns. A major point that I failed to make initially is that such
code should
Grant Rettke wrote:
On Fri, Nov 6, 2009 at 5:46 PM, Ryan Culpepper ryanc at ccs.neu.edu wrote:
I hope the unstable collection will lead to more code sharing. I also hope
that it will be a place to hash out interfaces and get implementations Just
Right before promoting code to the major leagues
On Feb 6, 2009, at 5:32 PM, Matthew Flatt wrote:
At Fri, 06 Feb 2009 14:10:54 -0500, Dave Herman wrote:
Unquote for the value part of a `#hash' could work. I'm less sure
that
it's a good idea for the key position, since the reader constructs a
hash table.
Good point. For example:
I've just snuck a new feature into Check Syntax. You can now tack all
binding arrows that cross the editor's selection boundary. That is, they
have one end inside the selection and one end outside. One use is to
find free variables in an expression you want to lift out as a separate
procedure.
bindings
and references within the current module only. Id est, the arrows to
require forms can be omitted as far as I am concerend.
2: How do I untack?
Thanks
Jos.
- Original Message - From: Ryan Culpepper ryanc at ccs.neu.edu
To: plt-dev at list.cs.brown.edu
Sent: Monday
On Feb 23, 2009, at 4:01 PM, Jon Rafkind wrote:
(define (+1 x) x)
readline::57: define: bad syntax (not an identifier for procedure
name, and not a nested procedure form) at: 1 in: (define (1 x) x)
(define (-1 x) x)
readline::75: define: bad syntax (not an identifier for procedure
Eli Barzilay wrote:
On Jun 8, Matthias Felleisen wrote:
Can't we just use the examples from our web site in a two-column format?
I think that the expectation is for a more conventional kind of hello
world thing. But given that in many repl-based languages that's
going to be just
52 matches
Mail list logo