;; Instead of needing to write...

(define a 1)
(define b 2)
(define c 3)

;; ...it would be clean to write...

(def a 1
     b 2
     c 3)

;; ...which is even cleaner than the `let' that `define' replaces.

;; Plus, having it act like `match-define' would be handy:

(def a 1
     b 2
     (list x y) '(1 2)
     (list _ hi world) (regexp-match #px"(.+)\\s+(.+)"
                                     "Hello, world."))


Sprit being, take the motivation from the style guide for preferring
the new `define' over `let', and run it just a few steps further.

But, just a small idea.
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to