I find "simple" to be very judgey. Unlike a full syntax-parse
expression with many rules and cases, define-simple-macro has just one
case or one rule, so you're defining a single rule not a set of rules.

On Wed, Oct 7, 2015 at 2:12 PM, Alex Knauth <[email protected]> wrote:
> What's wrong with define-simple-macro ? I think it's clearer about what it 
> does than define-syntax-rule.
>
>> On Oct 7, 2015, at 2:10 PM, Jay McCarthy <[email protected]> wrote:
>>
>> I agree. I don't like the name. I think define-syntax-rule is a choice
>> choice name.
>>
>> On Wed, Oct 7, 2015 at 2:01 PM, Jack Firth <[email protected]> wrote:
>>> On Tuesday, October 6, 2015 at 5:26:48 PM UTC-7, jay.mccarthy wrote:
>>>>
>>>> You may notice that I only mention define-syntax-rule and
>>>> syntax-parse. That was on purpose. I read this as a suggestion that I
>>>> should replace define-syntax-rule with define-simple-macro.
>>>
>>>
>>> On that topic, are there any opinions on changing the name from
>>> `define-simple-macro` to something else? It's always struck me as odd.
>



-- 
Jay McCarthy
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAJYbDak-K46QZxrqhAb2HUj-Fomp7rG2%2BfWNKm7kX8uqHP9q2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to