@@ -121,7 +121,7 @@ def default_hash(x):
121121
122122@as_var ("first" )
123123def first (x ):
124- if rt .satisfies_QMARK_ (ISeq , x ):
124+ if rt ._satisfies_QMARK_ (ISeq , x ):
125125 return rt ._first (x )
126126
127127 seq = rt .seq (x )
@@ -131,7 +131,7 @@ def first(x):
131131
132132@as_var ("next" )
133133def next (x ):
134- if rt .satisfies_QMARK_ (ISeq , x ):
134+ if rt ._satisfies_QMARK_ (ISeq , x ):
135135 return rt .seq (rt ._next (x ))
136136 seq = rt .seq (x )
137137 if seq is nil :
@@ -145,15 +145,15 @@ def seq(x):
145145
146146@as_var ("seq?" )
147147def seq_QMARK_ (x ):
148- return true if rt .satisfies_QMARK_ (rt .ISeq .deref (), x ) else false
148+ return true if rt ._satisfies_QMARK_ (rt .ISeq .deref (), x ) else false
149149
150150@as_var ("-seq-eq" )
151151def _seq_eq (a , b ):
152152 if a is b :
153153 return true
154154 if a is nil or b is nil :
155155 return false
156- if not (rt .satisfies_QMARK_ (rt .ISeqable .deref (), b ) or rt .satisfies_QMARK_ (rt .ISeq .deref (), b )):
156+ if not (rt ._satisfies_QMARK_ (rt .ISeqable .deref (), b ) or rt ._satisfies_QMARK_ (rt .ISeq .deref (), b )):
157157 return false
158158
159159 a = rt .seq (a )
@@ -286,7 +286,7 @@ def __with_meta(a, b):
286286@returns (bool )
287287@as_var ("has-meta?" )
288288def __has_meta (a ):
289- return true if rt .satisfies_QMARK_ (rt .IMeta .deref (), a ) else false
289+ return true if rt ._satisfies_QMARK_ (rt .IMeta .deref (), a ) else false
290290
291291@as_var ("conj" )
292292def conj (a , b ):
@@ -313,8 +313,8 @@ def str__args(args):
313313@jit .unroll_safe
314314def apply__args (args ):
315315 last_itm = args [len (args ) - 1 ]
316- if not (rt .satisfies_QMARK_ (rt .IIndexed .deref (), last_itm ) and
317- rt .satisfies_QMARK_ (rt .ICounted .deref (), last_itm )):
316+ if not (rt ._satisfies_QMARK_ (rt .IIndexed .deref (), last_itm ) and
317+ rt ._satisfies_QMARK_ (rt .ICounted .deref (), last_itm )):
318318 last_itm = rt .vec (last_itm )
319319
320320 fn = args [0 ]
@@ -335,14 +335,14 @@ def apply__args(args):
335335# return nil
336336
337337@returns (bool )
338- @as_var ("instance?" )
338+ @as_var ("- instance?" )
339339def _instance (c , o ):
340340 affirm (isinstance (c , Type ), u"c must be a type" )
341341
342342 return true if istypeinstance (o , c ) else false
343343
344344@returns (bool )
345- @as_var ("satisfies?" )
345+ @as_var ("- satisfies?" )
346346def _satisfies (proto , o ):
347347 affirm (isinstance (proto , Protocol ), u"proto must be a Protocol" )
348348
@@ -625,7 +625,7 @@ def identical(a, b):
625625
626626@as_var ("vector?" )
627627def vector_QMARK_ (a ):
628- return true if rt .satisfies_QMARK_ (rt .IVector .deref (), a ) else false
628+ return true if rt ._satisfies_QMARK_ (rt .IVector .deref (), a ) else false
629629
630630@returns (bool )
631631@as_var ("eq" )
0 commit comments