[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/j-mode b470f04 19/56: Removing the -> macro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/j-mode b470f04 19/56: Removing the -> macro |
Date: |
Sun, 29 Aug 2021 11:20:46 -0400 (EDT) |
branch: elpa/j-mode
commit b470f04cc9f4d5566908305638684d4abee7e640
Author: Zachary Elliott <ze3@nyu.edu>
Commit: Zachary Elliott <ze3@nyu.edu>
Removing the -> macro
---
j-help.el | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/j-help.el b/j-help.el
index dd4b04d..dcbafa1 100644
--- a/j-help.el
+++ b/j-help.el
@@ -44,10 +44,6 @@
;;(set 'lexical-binding t)
-(defmacro -> ( &rest body )
- "Alias for the funcall method"
- `(funcall ,@body))
-
(defmacro if-let ( binding then &optional else )
"Bind value according to BINDING and check for truthy-ness
If the test passes then eval THEN with the BINDING varlist bound
@@ -66,7 +62,7 @@ If no, eval ELSE with no binding"
(if list
(let* ((head (car list))
(tail (cdr list)))
- (if (eq (-> fn head) (-> fn prev))
+ (if (eq (funcall fn head) (funcall fn prev))
(group-by* tail fn head (cons head coll) agr)
(group-by* tail fn head '() (cons coll agr))))
(cons coll agr)))
@@ -74,7 +70,7 @@ If no, eval ELSE with no binding"
(defun group-by ( list fn )
"Group-by is a FUNCTION across LIST, returning a sequence
It groups the objects in LIST according to the predicate FN"
- (let ((sl (sort list (lambda (x y) (< (-> fn x) (-> fn y))))))
+ (let ((sl (sort list (lambda (x y) (< (funcall fn x) (funcall fn y))))))
(group-by* sl fn '() '() '())))
(defgroup j-help nil
- [nongnu] elpa/j-mode 529cf67 06/56: Swaping progn with eval-when-compile in faces macro, (continued)
- [nongnu] elpa/j-mode 529cf67 06/56: Swaping progn with eval-when-compile in faces macro, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode d6fd35d 08/56: Updating README with information about the new faces added from j-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 41218f6 10/56: Doc-string updates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 140c2b6 12/56: Updated README and cleaned up docs a bit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 50b6ad1 13/56: Updating doc strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode f4ede4b 18/56: Fixing unbalanced parenthesis, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 2e1ffe7 17/56: Merge branch 'modulate' of github.com:zellio/j-mode into modulate, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 0bf1acd 35/56: Fix "\\." (Suffix / Outfix) for `j-help-voc-alist', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 0d2ba51 26/56: Adding warning about executable name clash with a Java package, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 3509c2d 15/56: Added branch search function for more intelligent symbol detection, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode b470f04 19/56: Removing the -> macro,
ELPA Syncer <=
- [nongnu] elpa/j-mode 94a4d08 16/56: 1.0.0 Release, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode bd38533 36/56: Add "!." (Fit / Customize) to `j-help-voc-alist', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode ff1a3f2 41/56: Merge pull request #10 from abo-abo/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode c61b17e 43/56: Mastering 1.1.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 060b900 40/56: Add "\\:" (Grade Down/Sort) to `j-font-lock-len-2-verbs', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode b558903 44/56: j-help.el: Fix `lexical-binding' for Emacs24, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 4f7b75f 46/56: Merge remote-tracking branch 'lispnik/master', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 36cb97e 31/56: Mastering v1.0.2, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 11b02ca 48/56: Changed default jconsole to ijconsole since jconsole conflicts with some, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode e50f148 52/56: Merge pull request #16 from andrew-christianson/j-mode#15, ELPA Syncer, 2021/08/29