eslisp-dotify
v0.1.3
Published
implements shorthands for attribute access and method call
Downloads
6
Readme
eslisp-dotify
Transform macro for Eslisp. Implements a shorthand syntax for property access and method calls, similar to the corresponding features in Clojure or Wisp. Nicely complements eslisp-propertify.
Examples
(.-baz (foo bar)) => (. (foo bar) baz)
(.-baz.quux (foo bar)) => (. (foo bar) baz quux)
(.baz (foo bar) <args>) => ((. (foo bar) baz) <args>)
(.baz.quux (foo bar) <args>) => ((. (foo bar) baz quux) <args>)
И те така те....