File: dash-functional.el

package info (click to toggle)
dash-el 2.20.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: lisp: 6,152; makefile: 39; sh: 7
file content (53 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
;;; dash-functional.el --- Collection of useful combinators for Emacs Lisp  -*- lexical-binding: t -*-

;; Copyright (C) 2013-2021 Free Software Foundation, Inc.

;; Author: Matus Goljer <matus.goljer@gmail.com>
;;         Magnar Sveen <magnars@gmail.com>
;; Version: 1.3.0
;; Package-Requires: ((dash "2.18.0"))
;; Keywords: extensions, lisp
;; Homepage: https://github.com/magnars/dash.el

;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; *N.B.:* This package has been absorbed, and is therefore made
;; obsolete, by the `dash' package, version 2.18.0.
;;
;; If you maintain a package that depends on `dash-functional', then
;; you should change that to instead depend on `dash' version 2.18.0,
;; and remove all references to `dash-functional'.
;;
;; If you use any packages that depend on `dash-functional', either
;; directly or indirectly, then you will have to wait until all of
;; them have transitioned away from it before you can remove it.
;;
;; For more information on this, see the following URL:
;; `https://github.com/magnars/dash.el/wiki/Obsoletion-of-dash-functional.el'

;;; Code:

(require 'dash)

(eval-and-compile
  (let ((msg "Package dash-functional is obsolete; use dash 2.18.0 instead"))
    (if (and noninteractive (fboundp 'byte-compile-warn))
        (byte-compile-warn msg)
      (message "%s" msg))))

(provide 'dash-functional)

;;; dash-functional.el ends here