[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libraries (was: Re: PROPOSAL: Repurpose one key (why only one?) and rese
From: |
Emanuel Berg |
Subject: |
libraries (was: Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages) |
Date: |
Sun, 14 Feb 2021 19:14:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Gregory Heytings wrote:
> On Elpa and Melpa there are currently 5121 distinct packages [...]
We could reduce the code size a lot if we did huge package
libraries and organized everything systematically, with search
tools and stuff, optimally...
Below is just some Elisp that comes to mind. How many people
did that, in how many different but similar versions and
varieties, instead of getting it somewhere?
I still don't know where to look and installation is more
difficult than writing it even if I were to find it.
Bring all simple things into a bunch of huge files, done deal.
(defun // (n d)
(/ n d 1.0) )
;; (// 8 256) ; 0.03125
;; (/ 8 256) ; 0
(defun percent (n d)
(let ((pct (/ n d 0.01)))
(message "%.1f%%" pct)))
;; (percent 8 256) ; 3.1%
;; (percent 0 1337) ; 0.0%
(defun mean-value (vs)
(let*((sum (apply #'+ vs))
(mean (/ sum (length vs) 1.0)) )
mean) )
(defun hypotenuse (c1 c2)
(sqrt (+ (* c1 c1) (* c2 c2))) )
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, (continued)
- RE: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Drew Adams, 2021/02/14
- Re: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Jean Louis, 2021/02/14
- Re: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Emanuel Berg, 2021/02/14
- RE: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Drew Adams, 2021/02/14
- Re: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Emanuel Berg, 2021/02/14
- Re: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Jean Louis, 2021/02/15
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Gregory Heytings, 2021/02/14
- libraries (was: Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages),
Emanuel Berg <=
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Philip Kaludercic, 2021/02/14
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Gregory Heytings, 2021/02/14
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Emanuel Berg, 2021/02/14
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Robert Thorpe, 2021/02/15
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Gregory Heytings, 2021/02/15
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Robert Thorpe, 2021/02/17
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Gregory Heytings, 2021/02/20
- RE: [External] : Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Drew Adams, 2021/02/14
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Gregory Heytings, 2021/02/14
- Re: PROPOSAL: Repurpose one key (why only one?) and reserve it for third-party packages, Jean Louis, 2021/02/14