Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
(.p o)           ;=> a method call

(.m o <args>)    ;=> a method call

(. o p)          ;=> a method call

(. o p <args>)   ;=> a method call

(. o (m))        ;=> a method call

(. o (m <args>)) ;=> a method call

(. o -p)         ;=> a property access

(. -p o)         ;=> a property access

(.-p o)          ;=> a property access  

Thus reserving the single hyphenated symbol form for property access.  This functionality should also be created in Clojure.  This would require a breaking change in ClojureScript and only an enhancement to Clojure.