Clojure

Support implicit macro args for form and locals

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.2
  • Component/s: None
  • Labels:
    None

Description

Inside the body of a defmacro expander, &whole will refer to the original macro invocation form (thus allowing recovery and use of metadata on that form by the expander itself). &env will refer to a map of symbols to TBD, such symbols representing the locals in scope. This will break code that depends on defmacro creating a fn with exactly the same signature.

Possible alternate names: &locals, &form

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/242
Hide
Assembla Importer added a comment -

richhickey said: names are &form and &env

Show
Assembla Importer added a comment - richhickey said: names are &form and &env

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: