remove redundant filterfalse
removed `filterfalse` in favor of the shorter `remove`
This commit is contained in:
parent
6f93de68d7
commit
b73bc4c5f9
@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
(if-python2
|
(if-python2
|
||||||
(def
|
(def
|
||||||
filterfalse itertools.ifilterfalse
|
remove itertools.ifilterfalse
|
||||||
zip-longest itertools.izip_longest
|
zip-longest itertools.izip_longest
|
||||||
;; not builtin in Python3
|
;; not builtin in Python3
|
||||||
reduce reduce
|
reduce reduce
|
||||||
@ -104,7 +104,7 @@
|
|||||||
range xrange
|
range xrange
|
||||||
zip itertools.izip)
|
zip itertools.izip)
|
||||||
(def
|
(def
|
||||||
filterfalse itertools.filterfalse
|
remove itertools.filterfalse
|
||||||
zip-longest itertools.zip_longest
|
zip-longest itertools.zip_longest
|
||||||
;; was builtin in Python2
|
;; was builtin in Python2
|
||||||
reduce functools.reduce
|
reduce functools.reduce
|
||||||
@ -130,7 +130,6 @@
|
|||||||
drop-while itertools.dropwhile
|
drop-while itertools.dropwhile
|
||||||
group-by itertools.groupby
|
group-by itertools.groupby
|
||||||
islice itertools.islice
|
islice itertools.islice
|
||||||
remove filterfalse
|
|
||||||
take-while itertools.takewhile
|
take-while itertools.takewhile
|
||||||
tee itertools.tee)
|
tee itertools.tee)
|
||||||
|
|
||||||
@ -456,11 +455,10 @@
|
|||||||
(def *exports*
|
(def *exports*
|
||||||
'[*map accumulate butlast calling-module-name chain coll? combinations
|
'[*map accumulate butlast calling-module-name chain coll? combinations
|
||||||
compress cons cons? count cycle dec distinct disassemble drop drop-last
|
compress cons cons? count cycle dec distinct disassemble drop drop-last
|
||||||
drop-while empty? even? every? first filter filterfalse flatten float?
|
drop-while empty? even? every? first filter flatten float? fraction gensym
|
||||||
fraction gensym group-by identity inc input instance? integer integer?
|
group-by identity inc input instance? integer integer? integer-char?
|
||||||
integer-char? interleave interpose islice iterable? iterate iterator?
|
interleave interpose islice iterable? iterate iterator? keyword keyword?
|
||||||
keyword keyword? last list* macroexpand macroexpand-1 map merge-with
|
last list* macroexpand macroexpand-1 map merge-with multicombinations name
|
||||||
multicombinations name neg? nil? none? nth numeric? odd? partition
|
neg? nil? none? nth numeric? odd? partition permutations pos? product range
|
||||||
permutations pos? product range read read-str remove repeat repeatedly rest
|
read read-str remove repeat repeatedly rest reduce second some string
|
||||||
reduce second some string string? symbol? take take-nth take-while tee zero?
|
string? symbol? take take-nth take-while tee zero? zip zip-longest])
|
||||||
zip zip-longest])
|
|
||||||
|
Loading…
Reference in New Issue
Block a user