Skip to content

Commit 854d838

Browse files
committed
improve metadata
1 parent ca9150b commit 854d838

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pixie/stdlib.pxi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,7 +2719,9 @@ Calling this function on something that is not ISeqable returns a seq with that
27192719
(throw [::ComparisonError (str x " does not satisfy IComparable")])))
27202720

27212721
(defn vary-meta
2722-
[x f & args]
2723-
"Returns x with meta data updated with the application of f and args to it.
2722+
{:doc "Returns x with meta data updated with the application of f and args to it.
27242723
ex: (vary-meta x assoc :foo 42)"
2724+
:signatures [[x f & args]]
2725+
:added "0.1"}
2726+
[x f & args]
27252727
(with-meta x (apply f (meta x) args)))

0 commit comments

Comments
 (0)