Matus Goljer
1e22ef6a29
Merge pull request #263 from basil-conto/blc/common-suffix
...
Add -common-suffix
8 years ago
Basil L. Contovounesios
a6e143682f
Add -common-suffix
...
Update -common-prefix tests along with those of -common-suffix.
8 years ago
Basil L. Contovounesios
4abffdc8bb
Update docs
8 years ago
Basil L. Contovounesios
6d2decbc50
Prefer number-to-string over int-to-string
8 years ago
Basil L. Contovounesios
8f90dd7e33
Handle empty list in -reductions[-r]
8 years ago
Basil L. Contovounesios
88737493cd
Improve and simplify right-associative reductions
...
* Translate recursion to iteration to avoid exceeding
max-lisp-eval-depth.
* Rewrite functions in terms of anaphoric macros.
* Expand test cases.
8 years ago
Matus Goljer
85e8f62b7a
Merge pull request #274 from magnars/doublep-each-r
...
Doublep each r
8 years ago
Matus Goljer
14f76df800
Update docs
8 years ago
Paul Pogonyshev
578428abfe
Add some implementation commentary to '-each-r'.
8 years ago
Paul Pogonyshev
8af9987aac
Add '-each-r' and '-each-r-while'.
8 years ago
Matus Goljer
453c775e64
Fix -setq docstring fn reference
8 years ago
Matus Goljer
148404c114
[ Fix #256 ] Allow `-let` bindings with no explicit value
8 years ago
Matus Goljer
3b08355b94
Use version from dash.el file when generating readme.
8 years ago
Matus Goljer
406f6f3e71
Fix whitespace
8 years ago
Matus Goljer
a87df31db9
Merge pull request #269 from magnars/feature/smart-kv-destructuring
...
Smart kv destructuring
8 years ago
Matus Goljer
e52909f098
Add smarter key destructuring
8 years ago
Matus Goljer
0505f5d2b4
Merge pull request #271 from magnars/feature/-setq
...
Implement -setq
8 years ago
Matus Goljer
8c4e27fa7e
Implement -setq
8 years ago
Matus Goljer
a55452a384
Merge pull request #270 from magnars/travis/use-emacs-26
...
Emacs 26.1 was released and pretest does no longer exist
8 years ago
Matus Goljer
83190a2d67
Emacs 26.1 was released and pretest does no longer exist
8 years ago
Matus Goljer
a74f4cfcdc
Bump version in package declaration
8 years ago
Matus Goljer
e9919f6db4
Release 2.14.0
8 years ago
Phil Lord
87d5feac1a
Merge pull request #266 from phillord/feature/travis-update
...
Use EVM for travis, test recent Emacs
8 years ago
Phillip Lord
3789b15618
Change Emacs tested and supported versions.
...
Move to EVM for version management, rather than a patchwork of PPAs.
Add testing for all Emacs versions including minor releases 24.1 to
25.3. Add Emacs-26 pretest. Add Emacs master snapshot.
Fix comments in dash.el that describe workaround for missing gv.el in
24.1.1 and 24.2.1. Update run-tests.el to skip byte compilation check
in these versions.
Remove support for tests on Emacs 23 (and by implication full support
for Emacs-23, although this commit introduces no breaking changes by
itself). Remove ert.el from, as it was needed only for Emacs 23.
8 years ago
Magnar Sveen
48a5015dd1
Merge pull request #265 from Wilfred/missing-keywords
...
Add missing keywords to dash-enable-font-lock
8 years ago
Wilfred Hughes
27c2fe8460
Add missing keywords
...
Ensure that all the dash functions and macros are highlighted by
dash-enable-font-lock.
8 years ago
Matus Goljer
c1991d4c22
Merge pull request #262 from basil-conto/blc/common-prefix
...
Safer -common-prefix via breadth-first traversal
8 years ago
Basil L. Contovounesios
beea1a3e3d
Simplify --common-prefix implementation
8 years ago
Matus Goljer
138c22a96c
Merge pull request #261 from basil-conto/blc/common-prefix
...
Add -common-prefix
8 years ago
Basil L. Contovounesios
72b8d39458
Add -common-prefix
...
Re: #260
8 years ago
Matus Goljer
528e5a51f1
Merge pull request #258 from Wilfred/quotes-in-docs
...
Ensure ' in docstring code snippets is not replaced
8 years ago
Matus Goljer
e9c792f8c4
Merge pull request #257 from Wilfred/update_docs
...
Regenerate docs
8 years ago
Wilfred Hughes
4e907430b1
Ensure ' in docstring code snippets is not replaced
...
As of Emacs 25.1, `foo' is displayed as ‘foo’. This is controlled by
text-quoting-style, but curved quotes are the default.
This causes problems for docstrings that contain ' in code
snippets. Help buffers show e.g. (funcall 'foo) as (funcall ’foo),
which isn't legal elisp.
Instead, escape the quotes with \=. See substitute-command-keys for
the full docs on \= escaping.
8 years ago
Wilfred Hughes
c77644b7ee
Regenerate docs
8 years ago
Stefan Monnier
c287454fa3
* dev/examples.el: Also require dash-functional for -cut and friends
8 years ago
Stefan Monnier
8a145cacf8
Fix compilation issues in elpa.git
...
* dev/examples.el: Require examples-to-tests to make it compilable.
* .gitignore: Add a general .elc rule to also catch dev/*.elc.
8 years ago
Matus Goljer
91d8cb01e6
Move inits and tails under reductions in the examples
9 years ago
Matus Goljer
1b9061c5f5
Update docs
9 years ago
Matus Goljer
057468608d
Make tails and inits return all prefixes including the empty one.
...
It is easy for the user to drop the first/last item with cdr or
-butlast, so let's be consistent with how reductions work
9 years ago
Matus Goljer
55d8cc9294
Running sum and product can only be computed from non-empty lists
9 years ago
Matus Goljer
eb1231eca4
Add -reductions[-r][-from]
9 years ago
Matus Goljer
d8bcf567ef
Add -running-sum and -running-product
9 years ago
Matus Goljer
5b549bc0a3
Add missing fontification keywords
9 years ago
Matus Goljer
f8c8dc002c
Add -tails and -inits
9 years ago
Matus Goljer
e7764ea722
Formatting
9 years ago
Matus Goljer
a57c2c335d
Merge pull request #245 from duianto/patch-1
...
Update examples.el, remove duplicate -third-item
9 years ago
duianto
057e55ca58
Update examples.el, remove duplicate -third-item
9 years ago
Matus Goljer
4b46527780
Merge pull request #238 from Wilfred/more-item-accesses
...
Define -second-item through to -fifth-item
9 years ago
Wilfred Hughes
66e3e94341
Define -second-item through to -fifth-item
...
cl-second is a very useful function that has no dash
equivalent. Define functions for accessing the second, third, fourth
and fifth items of a list.
9 years ago
Matus Goljer
8ef32875da
Merge pull request #237 from Wilfred/add-see-also
...
Add 'see also' for -select and -remove
9 years ago