[racket] `def' ?

From: Ray Racine (ray.racine at gmail.com)
Date: Thu May 10 12:51:43 EDT 2012

+1 on formalizing "def" as an official alias in Racket.  Once, I recall δ
used to work and I rather liked it, however 'def' as official is a winner.

On Thu, May 10, 2012 at 11:54 AM, Greg Hendershott <
greghendershott at gmail.com> 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
> 2. Name shortening seems to be a current theme.
> 3. The new style guide prefers `define' over `let'.
> Re 3 I like the less-indented benefit of `define' instead of `let'.
> OTOH it's more verbose.
> Speaking of which, it also might be handy to `define' multiple
> identifiers in one shot, as `let' can do. (Although perhaps the syntax
> would need to be ugly due to how `define' is used also to define
> functions. I haven't even tried to think that through; sorry.)
> Possible reasons why not:
> 1. It smells too much like Clojure? (Although I suppose you could
> argue `define' smells like classic Scheme.)
> 2. ?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120510/1dbca38c/attachment.html>

Posted on the users mailing list.