We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b233b13 commit eed57f8Copy full SHA for eed57f8
1 file changed
pixie/stdlib.pxi
@@ -167,7 +167,8 @@
167
(def instance? (fn ^{:doc "Checks if x is an instance of t.
168
169
When t is seqable, checks if x is an instance of
170
- any of the types contained therein."}
+ any of the types contained therein."
171
+ :signatures [[t x]]}
172
instance? [t x]
173
(if (-satisfies? ISeqable t)
174
(let [ts (seq t)]
@@ -179,7 +180,8 @@
179
180
(def satisfies? (fn ^{:doc "Checks if x satisfies the protocol p.
181
182
When p is seqable, checks if x satisfies all of
- the protocols contained therein."}
183
+ the protocols contained therein."
184
185
satisfies? [p x]
186
(if (-satisfies? ISeqable p)
187
(let [ps (seq p)]
0 commit comments