Matus Goljer
dca7bdcf79
Merge pull request #277 from yyoncho/custom-destructoring
...
Provided option to extend destructoring
7 years ago
Matus Goljer
677c156114
Merge pull request #290 from leungbk/rotate
...
Generalize `-rotate` for `|n|` greater than `(length list)`.
7 years ago
Brian Leung
016e0dee03
Generalize `-rotate` for `|n|` greater than `(length list)`.
7 years ago
Ivan Yonchovski
3f7bc26ec6
Provided option to extend destructoring
...
The descructoring could be extended by defining a function named
`dash-expand:&{destructoring-key}` where {destructoring-key} stands for the key
that will be used in the let destructoring, e. g. &hash/&plist in the standart
dash
7 years ago
Matus Goljer
f1ffdf7beb
Merge pull request #288 from cireu/master
...
Alias `-cons-pair?` to `-cons-pair-p`
7 years ago
citreu
2758ee7518
Alias `-cons-pair-p` to `-cons-pair?`
7 years ago
Matus Goljer
26f065fd60
Merge pull request #282 from yyoncho/anamorphic-doto
...
Implement --doto
7 years ago
Ivan Yonchovski
38d44ed77e
Implement --doto
...
Please let me know if you want me regenerate the docs. When I ran
./create-docs.sh it generates a lot of changes not related to this PR.
7 years ago
Matus Goljer
63022432e1
Release 2.15.0
7 years ago
Matus Goljer
6514359b86
Merge pull request #264 from basil-conto/blc/reduce
...
Improve folds
8 years ago
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
Matus Goljer
91d8cb01e6
Move inits and tails under reductions in the examples
8 years ago
Matus Goljer
1b9061c5f5
Update docs
8 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
8 years ago
Matus Goljer
55d8cc9294
Running sum and product can only be computed from non-empty lists
8 years ago
Matus Goljer
eb1231eca4
Add -reductions[-r][-from]
8 years ago
Matus Goljer
d8bcf567ef
Add -running-sum and -running-product
8 years ago