-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for :decorators in anon fns, defasync (#1189)
Hi, could you please review patch to support the `:decorators` key in anonymous `fn`s. It addresses #1178. The handling of `:decorators` has been nmoved to `fn`, which also ensures that the meta key is now considered when passed as metadata to the `defn` name. This enables support for supporting the meta key in `defn` derived macros such as `defasync`, as intended. I've updated the `defn` docstring to hint that the processing is now done by `fn` now. I've also added tests for `fn`, `defn` and `defasync`, along with a section in the python interop doc about it. Thanks --------- Co-authored-by: ikappaki <[email protected]> Co-authored-by: Chris Rink <[email protected]>
- Loading branch information
1 parent
1c1eef9
commit 61e86f3
Showing
4 changed files
with
152 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters