You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,8 @@ Currently, the `@compat` macro supports the following syntaxes:
160
160
161
161
*`@inline` and `@noinline` have been added. On 0.3, these are "no-ops," meaning they don't actually do anything.
162
162
163
+
*`@functorize` (not present in any Julia version) takes a function (or operator) and turns it into a functor object if one is available in the used Julia version. E.g. something like `mapreduce(Base.AbsFun(), Base.MulFun(), x)` can now be written as `mapreduce(@functorize(abs), @functorize(*), x)` to work accross different Julia versions.
164
+
163
165
## Other changes
164
166
165
167
*`Dict(ks, vs)` is now `Dict(zip(ks, vs))`[#8521](https://github.com/JuliaLang/julia/pull/8521)
0 commit comments