[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/parseclj da0c877940 069/185: Remove dash, using seq is goo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/parseclj da0c877940 069/185: Remove dash, using seq is good enough |
Date: |
Tue, 28 Dec 2021 14:05:18 -0500 (EST) |
branch: elpa/parseclj
commit da0c877940650860562c5ddfa028e5101dc282d0
Author: Arne Brasseur <arne@arnebrasseur.net>
Commit: Arne Brasseur <arne@arnebrasseur.net>
Remove dash, using seq is good enough
---
clj-lex.el | 4 +---
clj-parse.el | 8 ++++----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/clj-lex.el b/clj-lex.el
index 99b5264d34..f85818ecfb 100644
--- a/clj-lex.el
+++ b/clj-lex.el
@@ -25,15 +25,13 @@
;; A reader for EDN data files and parser for Clojure source files.
-(require 'dash)
-
(defun clj-lex-token (type form pos &rest args)
`((type . ,type)
(form . ,form)
(pos . ,pos)
,@(mapcar (lambda (pair)
(cons (car pair) (cadr pair)))
- (-partition 2 args))))
+ (seq-partition args 2))))
(defun clj-lex-token-type (token)
(and (listp token)
diff --git a/clj-parse.el b/clj-parse.el
index 306d6b54e2..5ca45db548 100644
--- a/clj-parse.el
+++ b/clj-parse.el
@@ -4,7 +4,7 @@
;; Author: Arne Brasseur <arne@arnebrasseur.net>
;; Keywords: lisp
-;; Package-Requires: ((dash "2.12.0") (emacs "25") (a "0.1.0alpha2"))
+;; Package-Requires: ((emacs "25") (a "0.1.0alpha3"))
;; Version: 0.1.0
;; This file is not part of GNU Emacs.
@@ -30,9 +30,9 @@
;;; Code:
-(require 'a)
-(require 'dash)
(require 'cl-lib)
+(require 'a)
+
(require 'clj-lex)
(require 'clj-edn)
(require 'clj-ast)
@@ -119,7 +119,7 @@
(:rparen :lparen)
(:rbracket :lbracket)
(:rbrace (clj-lex-token-type
- (-find (lambda (token) (member (clj-lex-token-type token)
'(:lbrace :set))) stack)))))
+ (seq-find (lambda (token) (member (clj-lex-token-type token)
'(:lbrace :set))) stack)))))
(defun clj-parse--reduce-coll (stack closer-token reduceN)
"Reduce collection based on the top of the stack"
- [nongnu] elpa/parseclj b40670a561 149/185: Add namespaced maps, fix backquote implementation, (continued)
- [nongnu] elpa/parseclj b40670a561 149/185: Add namespaced maps, fix backquote implementation, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj ff0443c27c 151/185: Add :read-one option, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 40e36c41eb 006/185: alist-get was only introduced in 25.1? :sadpanda:, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 6f36bbf6b4 009/185: Try to set up a build matrix, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj d4286f9071 010/185: Give README the right extension, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj ce7ad0e427 025/185: implement strings, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj a08b85ffa8 032/185: Implement parsing maps, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 60fd8eb965 053/185: Copy tests from edn.el, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 212e0dc42b 063/185: silly typo, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 96b8180987 087/185: Unparse ASTs that have lexical preservation., ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj da0c877940 069/185: Remove dash, using seq is good enough,
ELPA Syncer <=
- [nongnu] elpa/parseclj 6ae14f26ce 070/185: Work on tests and EDN printer + other things, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 496a7356bb 064/185: Add edn.el as a dependency, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 87953e44ba 092/185: Parse options on to the reducers, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 496c965edc 074/185: Make t print as true - thanks @martinklepsch, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1cf0fb9d3f 065/185: More build related fixes, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 0644bcdbf4 085/185: Implement :fail-fast, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 6d40b39cec 082/185: Rename clj-edn to parseedn, keep it in this package for now., ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 185ce6367b 090/185: Add :discard support for :lexical-preservation t, and show that it's broken, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1be462e0f2 108/185: Move parser to its own module, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj f86a3be4bf 107/185: Add last rewordings, ELPA Syncer, 2021/12/28