[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nongnu] elpa/haskell-mode d16c68ccdf 2/2: Merge pull request #1829
From: |
Emanuel Berg |
Subject: |
Re: [nongnu] elpa/haskell-mode d16c68ccdf 2/2: Merge pull request #1829 from DataKinds/master |
Date: |
Wed, 25 Oct 2023 13:58:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier wrote:
> And personally, I'd recommend:
>
> (not (and (save-excursion
> (re-search-backward "\\\\end{code}\\|\\\\begin{code}\\(\\)"
> nil t))
> (match-end 1)))
Why don't we have a "nand"?
(defun nand (&rest conditions)
(when (member nil conditions)
t) )
;; (nand) ; nil
;; (nand 1 2 3) ; nil
;; (nand nil) ; t
;; (nand 1 2 nil 3) ; t
https://en.wikipedia.org/wiki/Logical_NAND
--
underground experts united
https://dataswamp.org/~incal