Re: R6RS query



Pascal Costanza <pc@xxxxxxxxx> wrote:
On 19/12/2009 06:47, Peter Keller wrote:
Why does it matter what average programmers do and don't understand?
Should a language be worse just because its users are worse? That
doesn't seem to make a lot of sense...

I'm not saying we should get rid of call/cc. I'm saying it wouldn't be a
point of comparison to people idly looking at Scheme-like languages.

Also, I think there is a common viewpoint, which I personally don't adhere to,
that because things like (when ...) and whatnot _can be written_ in Scheme,
Scheme _shouldn't provide it_ in a standard out of "elegance". In reality,
people simply want those definitions, they don't want to have to write them,
and they want them to be working.

If this means that things like that end up in a standard library, fine
by me. In fact, this is what happened with R6RS, and I thought it was
a great idea. I genuinely hope the standard library section of R7RS is
preserved and expanded.

This is an abstract discussion. A more concrete discussion would be
this: "Clojure does XYZ, and it's goood. How do we get XYZ into an RNRS?"

So, what XYZs do you have in mind?

Multimethods and metadata (on any object, instead of just the couple
that Clojure performs). Those are the two that I've actually wished for
in Scheme when writing it.

Once you have multimethods, you can probably get the sequence idea from
Common Lisp and associated functions, like (remove ...) that works on
vectors, strings, lists, hashes: (remove 'key hash) depending on the
arguments.

-pete
.



Relevant Pages

  • Re: seperation of function namespace
    ... Yes, but name clashes still happen and idiotic naming ... Because the way the English language graphemically conflates verbs and nouns ... PLT scheme and related publications). ...
    (comp.lang.lisp)
  • Dissecting the electorate
    ... Scheme needs *no* additional modularization ... would be quite a bit more painful to use than the language we ... Now, getting the module system *right* is not necessarily easy, ... from the core semantics and into the library - the C stdio libraries ...
    (comp.lang.scheme)
  • Re: Batch conversion of files
    ... tried writing those other languages in Scheme. ... one would want to do in GIMP is a procedural task. ... cleaner code that would have been written in another language more ... Let's take that simple batch mode script that caused all the fuss to ...
    (comp.graphics.apps.gimp)
  • Re: Ideas for an SICP?
    ... language at the same time. ... I don't believe it is impossible either, but I do believe the scheme ... If Clojure can solve these problems, ... For the purposes of the original topic of this thread, a new SICP ...
    (comp.lang.scheme)
  • Re: Scheme went one direction, Haskell went another: Why?
    ... these sorts of language features, ... Scheme, the current Haskell situation may be considered an anti-goal. ... a feature of the Glasgow Haskell Compiler ...
    (comp.lang.scheme)