branch: elpa/llama
commit 1e1d49388bbd47780889b88b8c8e92e5ceaad854
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Mention the l package
---
 README.md | 21 +++++++++++++++------
 llama.el  |  9 +++++++--
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 5978638e18..7cc580ef7b 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,24 @@
-Anonymous function literals for Emacs-Lisp
-==========================================
+Compact syntax for short lambdas.
 
-Unfortunately anonymous function literals won't be added to Emacs
-anytime soon.  The arguments as to why we would like to have that
-has been layed out convincingly but the proposal has been rejected
-anyway.
+Unfortunately compact syntax for short `lambda`s won't be added to
+Emacs anytime soon.  IMO the arguments as to why we would like to have
+that has been layed out convincingly but the proposal has been
+rejected anyway.
 
 Several packages exist that implement anonymous function literals,
 but until now they all either are waiting for a patch to the C part
 be merged into Emacs, or they depart too far from the ideal syntax.
 
+This package is another attempt.
+
+> **Update:** I have come up with a second syntax, which does not put
+> anything *before* the opening parenthesis and looks like `(l'foo %)`.
+> Unlike with my original `llama` idea I am no longer suggesting making
+> it look like some character(s) appear before the paren using font-lock
+> or similar trickery (see below).  If you so desire, then you could
+> however use `prettify-symbols-mode` to display it as e.g. `(ƒ'foo
+> %)`.  This approach is implemented in [`l`](https://git.sr.ht/~tarsius/l).
+
 In a stroke of luck I discovered a loophole that allows us to have
 almost the syntax that we want without having to convince anyone.
 
diff --git a/llama.el b/llama.el
index e02aa8d1a5..a79d9b8bc9 100644
--- a/llama.el
+++ b/llama.el
@@ -1,6 +1,6 @@
 ;;; llama.el --- Anonymous function literals       -*- lexical-binding: t -*-
 
-;; Copyright (C) 2020-2021  Jonas Bernoulli
+;; Copyright (C) 2020-2022  Jonas Bernoulli
 
 ;; Authors: Jonas Bernoulli <jo...@bernoul.li>
 ;; URL: https://git.sr.ht/~tarsius/llama
@@ -24,7 +24,12 @@
 
 ;;; Commentary:
 
-;; This package provides anonymous function literals for Emacs-Lisp.
+;; This package implements compact syntax for short `lambda's, without
+;; relying on a C patch to Emacs or adding an additional pair of
+;; parentheses.
+
+;; [!] I have come up with another approach that does not put anything
+;; [!] before the opening parenthesis: https://git.sr.ht/~tarsius/l.
 
 ;; Unfortunately anonymous function literals won't be added to Emacs
 ;; anytime soon.  The arguments as to why we would like to have that

Reply via email to