My point was not so much about def in particular, or any single change.
Rather, one's personal or even collective development should not lead to
making the language gradually more difficult to beginners IMO.
br, jukka
> Asserting that the keyword "def" would confuse beginners is a red herring.
Neil Toronto
writes:
> Oh, that's the problem. I added all those plot goodies in v5.2, when I
> reimplemented it in Racket. I hope you're not stuck with v5.1. :/
>
no problem! just glad to know why i couldn't get things.
the pict stuff michael w told me about worked beautifully.
i'll just upgrad
Correction - should have been "...Clojure, Scala, Groovy, _Python_, Ruby..."
On Fri, May 11, 2012 at 4:49 PM, Luke Vilnis wrote:
> Asserting that the keyword "def" would confuse beginners is a red herring.
> Scheme is AFAIK the only language whose variable binding form is _not_ some
> kind of an
Asserting that the keyword "def" would confuse beginners is a red herring.
Scheme is AFAIK the only language whose variable binding form is _not_ some
kind of an abbreviation. C#/JavaScript use "var". Heck, D and C++11 use
"auto", which is truly bizzare. "def" is a very common keyword to use for
th
The beginning of section 2.1.3 looks like this:
> All other operations concerning strings consume or produce data other than
> strings. Here are some examples:
> • string-length consumes a string and produces a (natural) number;
>
> • string-ith consumes a string s and extracts t
I can't say I like the idea for usability and compatibility reasons.
Usability:
- Try this idea exaggerated: def lmbd cwcc cdr cond tgt gg param ...
Maybe for hard core pros, but this doesn't make the language
very approachable for the beginners. I made a few new ones so
even the pros
On 05/11/2012 12:48 PM, prad wrote:
Neil Toronto
writes:
On 05/11/2012 11:44 AM, prad wrote:
i'm not using drscheme.
how do i display things like
(object:2d-view% ...)
which are produced when we use plot etc.
if i run a racket program from command line?
i thought there might be something li
I am back again. I had a basic inquiry and your help got me started.
My problem is as follows:
*I have just started to work through 2Htdp (i.e. the second edition) that
you had guided me to. Having gone through the prologue I am now on the
second chapter, "Fixed-size data." But have got stuck a
On May 11, 2012, at 12:42 PM, Jens Axel Søgaard wrote:
> 2012/5/11 Asumu Takikawa :
>> Funny that this came up here, since just the other day I saw that the
>> latest release of Gauche has this feature, but using the $ identifier:
>> http://practical-scheme.net/gauche/
>
> Here is the manual en
So no, it does not allow you to enter arbitrary computations. I'm not
saying that this should replace the current language-based approach, but I
think that having this for all pre-defined actions (like new tab, run,
complete, etc.) would make customizing (as apposed to augmenting) much more
conveni
2012/5/11 Asumu Takikawa :
> Funny that this came up here, since just the other day I saw that the
> latest release of Gauche has this feature, but using the $ identifier:
> http://practical-scheme.net/gauche/
Here is the manual entry:
http://practical-scheme.net/gauche/man/gauche-refe_24.html#i
Thanks that's what I had assumed. (I have run Xcode on my Mac :-) But I do
think one could extend the Xcode approach with "and if you would like to do
more, here is a way to mix and match" -- Matthias
On May 11, 2012, at 3:39 PM, Nick Shelley wrote:
> Sorry to be imprecise. It lists all me
On Fri, May 11, 2012 at 9:32 PM, Luke Vilnis wrote:
> I assume Chaitin's constant is involved.
Man, if Xcode knows Omega, I ditch my PC, buy a Mac and leave DrRacket at
once!
>
>
> On Fri, May 11, 2012 at 3:22 PM, Matthias Felleisen
> wrote:
>
>>
>> [How] does Xcode allow you to enter arbitr
I assume Chaitin's constant is involved.
On Fri, May 11, 2012 at 3:22 PM, Matthias Felleisen wrote:
>
> [How] does Xcode allow you to enter arbitrary computations in response to
> key events? I don't understand how one can list "all possible actions"
> since there are infinitely many? -- Matthias
[How] does Xcode allow you to enter arbitrary computations in response to key
events? I don't understand how one can list "all possible actions" since there
are infinitely many? -- Matthias
On May 11, 2012, at 2:58 PM, Nick Shelley wrote:
> On the topic of key bindings, is there a reason thi
On 2012-05-11 14:38:00 -0400, Hendrik Boom wrote:
> Long long ago I implemented a lispish language using a syntactic hack
> to reduce nesing.
>
> ( a b c / d e f / g h i)
>
> is equivalent to
>
> (a b c ( d e f ( g h i)))
Funny that this came up here, since just the other day I saw that the
la
On the topic of key bindings, is there a reason this can't be done in the
preferences menu? Xcode has a key bindings section in the preferences menu
that has all possible actions on the left and the current bindings on the
right, and you can just click on the current binding and change it to
whatev
Hi,
Been learning Python and the docstring feature is nice, you just a
binding for it's doc and you have it in the repl and it saves you some
time and best of all it makes your favorite IDE integrate nicely.
Thinking about Racket it seems like it would be nice. Yea I know I can
add it if I want bu
Neil Toronto
writes:
> On 05/11/2012 11:44 AM, prad wrote:
>> i'm not using drscheme.
>>
>> how do i display things like
>> (object:2d-view% ...)
>> which are produced when we use plot etc.
>>
>> if i run a racket program from command line?
>>
>> i thought there might be something like a show fun
The other answers covered plotting, but for picts from the
slideshow library (for example, those returned by plot/pict), you
can use (show-pict some-pict) from slideshow/pict, which will
display that pict in a new frame.
One hour ago, prad wrote:
> i'm not using drscheme.
>
> how do i display thi
On Thu, May 10, 2012 at 06:19:00PM +0200, Laurent wrote:
> On Thu, May 10, 2012 at 5:54 PM, Greg Hendershott > wrote:
>
> > Should `def' be added as an alias for `define'?
> >
> > Possible reasons why:
> > 1. Most frequently used.
> > http://lists.racket-lang.org/dev/archive/2012-May/009429.html
By the way, the same sort of bug affects draw-ellipse and canvas%.
-- Garrett Mitchener
On Thu, May 10, 2012 at 11:10 AM, Garrett Mitchener <
garrett.mitche...@gmail.com> wrote:
> Okay, yes, using a dc-path% seems to work as intended.
>
> Thanks!
>
> -- Garrett Mitchener
>
> On Thu, May 10, 2012
On 05/11/2012 11:44 AM, prad wrote:
i'm not using drscheme.
how do i display things like
(object:2d-view% ...)
which are produced when we use plot etc.
if i run a racket program from command line?
i thought there might be something like a show function, but it doesn't
seem to be in
#lang racke
On 2012-05-11 10:44:43 -0700, prad wrote:
> how do i display things like
> (object:2d-view% ...)
> which are produced when we use plot etc.
For plot, you can use the plot-frame function:
http://docs.racket-lang.org/plot/plot2d.html?q=plot-frame#(def._((lib._plot/main..rkt)._plot-frame))
You wi
i'm not using drscheme.
how do i display things like
(object:2d-view% ...)
which are produced when we use plot etc.
if i run a racket program from command line?
i thought there might be something like a show function, but it doesn't
seem to be in
#lang racket
--
in friendship,
prad
_
Don Green wrote at 05/11/2012 12:43 PM:
Is the best way for me to learn about how to use Racket paths:
a) by asking the question in this mailing list,
OR,
b) by looking in some repository that has information on this. (If I
should look in a repository, which one?)
It is usually a good idea
On May 11, 2012, at 12:43 PM, Don Green wrote:
> Wondering...
> Is the best way for me to learn about how to use Racket paths:
> a) by asking the question in this mailing list,
> OR,
> b) by looking in some repository that has information on this. (If I should
> look in a repository, which one
Wondering...
Is the best way for me to learn about how to use Racket paths:
a) by asking the question in this mailing list,
OR,
b) by looking in some repository that has information on this. (If I
should look in a repository, which one?)
THANKS!
Racket Users list:
http://l
-1
But this is why we can make our own #langs.
On May 10, 2012 11:55 PM, "Michael W" wrote:
> Yes! Hear, hear! Having to explicitly write all the references
> out and get their types right is a pain point for me. Maybe it's
> encouraged by the design recipe, but sometimes I get jealous of
> lang
Ah, good point. I've added some example code to the docs that shows
how to bind menu items. Here's the code.
Robby
#lang s-exp framework/keybinding-lang
(define (menu-bind key menu-item)
(keybinding
key
(λ (ed evt)
(define canvas (send ed get-canvas))
(when canvas
(defin
Nobody who can help me understand what Matthias ment with some remarks
such as this one : Oke, but which other contants ?
Roelof
Op 10-5-2012 18:18, Roelof Wobben schreef:
Op 10-5-2012 18:08, Matthias Felleisen schreef:
On May 10, 2012, at 11:01 AM, Roelof Wobben wrote:
p 10-5-2012 15:33
31 matches
Mail list logo