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
@localauthor, how do you feel about code relying on cl-seq.el or seq.el? Both are part of Emacs, and would make some code cleaner. For example, zk--directory-files contains the following:
Not a big difference, for sure, but cl-seq version seems somewhat easier to read. There are also cases in zk-index.el that would benefit from cl-find-if. The equivalent seq.el functions would be seq-filter and seq-find.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@localauthor, how do you feel about code relying on cl-seq.el or seq.el? Both are part of Emacs, and would make some code cleaner. For example,
zk--directory-files
contains the following:With cl-seq, this could become
Not a big difference, for sure, but cl-seq version seems somewhat easier to read. There are also cases in
zk-index.el
that would benefit fromcl-find-if
. The equivalent seq.el functions would beseq-filter
andseq-find
.Beta Was this translation helpful? Give feedback.
All reactions