Clojure

GC Issue 49: Complement ~x => (unquote x) with ~@x => (unquote-splicing x)

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Reported by m...@kotka.de, Jan 18, 2009
Describe the feature/change.

Currently, ~ outside a syntax-quote is expanded to (clojure.core/unquote ..).
However this is not done for ~@. The attached patch also introduces the
expansion of ~@ to (clojure.core/unquote-splicing ...).

Was this discussed on the group? If so, please provide a link to the discussion:

http://groups.google.com/group/clojure/browse_frm/thread/6d0c5f7e37909055


 issue-49.diff
2.2 KB Download
Comment 1 by richhickey, Feb 09, 2009
patch applied - svn 1263 - thanks!
Status: Fixed

People

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

Dates

  • Created:
    Updated:
    Resolved: