Sergei Lebedev
Sergei Lebedev
+1, though I'm not sure if `attest` is even supported anymore
well, a (not so good) mode for Python is already bundled with Emacs :)
Turns out you actually **can** use metadata in macros calls: ``` clojure user=> (defmacro deftemplate [name & _] (pr-str (meta name))) #'user/deftemplate user=> (macroexpand-1 '(deftemplate ^:private foo)) "{:private true}" ```
Nope, that was a Clojure repl, here's a ClojureScript example: ``` clojure ;; macros.clj (defmacro deftemplate [name & _] `(.log js/console (pr-str ~(meta name)))) ;; test.cljs (deftemplate ^:private foo) ```...
One more thing we need to decide on: do we allow passing metadata to the generated functions, or is it enfocus-only? `:private` is a good example of this.
I've created a [feature/metadata](https://github.com/superbobry/enfocus/tree/feature/metadata) branch in my fork.
I would really appreciate any feedback on this. I wanted to hack on `import_string`, which doesn't work with unicode strings on Python2.7. But I can't because of this failing test....
Thanks for the PR, Sergey! I understand your concerns regarding the size of `recurrent.py`. Big modules could be tricky to work with, but I'm not sure that splitting `recurrent.py` into...
`AffineGridWarper` is not available in Sonnet 2. Unfortunately, I don't think we have Sonnet 1 API docs hosted anywhere, cc @tomhennigan.