Matus Goljer
9631947f2f
Merge pull request #317 from cireu/feat/intern-soft
...
Avoid `dash--get-expand-function` create non-existing symbol.
6 years ago
Zhu Zihao
62707a68aa
Avoid interning unused symbols in destructuring
...
dash--get-expand-function: Use `intern-soft` instead of `intern`.
7 years ago
Matus Goljer
a743ae3da1
Merge pull request #313 from SwiftLawnGnome/master
...
Make -inits not destroy its argument
7 years ago
Zach Shaftel
ce1294b5fe
Optimize non-destructive -inits
7 years ago
Matus Goljer
f3e9cd2c05
Fix doc and test harnesses ( #309 )
...
Fix doc and test harnesses
7 years ago
Basil L. Contovounesios
25030c96d8
Fix test harness in Emacs 27
...
Emacs 27 officially deprecates cl.el, which causes run-tests.sh to
fail even when all tests pass, due to byte-compiler warnings.
* dash.el: Do not unconditionally require cl.el in all Emacs
versions. Remove gv setter for -first-item, which is redundant
since -first-item is an alias of car. Also wrap calls to
gv-define-setter in with-no-warnings to suppress warnings about
gv--defsetter being undefined at runtime in certain Emacs versions.
(-third-item): Do not assume caddr is defined just because cl.el was
loaded within eval-when-compile: caddr is only defined if cl.el is
loaded at runtime, or in Emacs 26 and above.
* dev/examples.el (odd?): New helper function akin to even?.
(-partition-after-pred, -partition-before-pred): Use it instead of
assuming oddp from cl.el is defined.
* run-tests.sh: Byte-compile all Emacs versions. Pass -Q along with
-batch for some older Emacs versions. Consistently use
short (single-hyphen) Emacs options.
* README.md:
* dash.info:
* dash.texi: Regenerate docs.
7 years ago
Basil L. Contovounesios
4ce0e85be8
Actually remove mentions of Marmalade
...
This was first attempted in PR #302 , but was applied to the
auto-generated README.md instead of its source.
7 years ago
Basil L. Contovounesios
7854ec7141
Fix quote simplification in docs
...
* dev/examples-to-docs.el (simplify-quotes):
* dev/examples-to-info.el (simplify-quotes):
Also replace 'nil with '().
* README.md:
* dash.info:
* dash.texi: Regenerate docs.
7 years ago
Zach Shaftel
fae51b589b
Make -inits not destroy its argument
7 years ago
Basil L. Contovounesios
ad21e133b9
Ignore all .elc and TAGS files
7 years ago
Matus Goljer
11907f4592
Speed up `-uniq` with hash-table. ( #305 )
...
Speed up `-uniq` with hash-table.
7 years ago
Zhu Zihao
a5706bb451
More test to cover cases on different `-compare-fn`
7 years ago
Zhu Zihao
a358b7906f
Speed up `-uniq` with hash-table.
7 years ago
Magnar Sveen
77f3bf40c9
Merge pull request #302 from bbatsov/patch-1
...
Remove mention of Marmalade
7 years ago
Bozhidar Batsov
322373adfc
Remove mention of Marmalade
...
It has been dead for a while now.
7 years ago
Matus Goljer
258c324d98
Release 2.16.0
7 years ago
Matus Goljer
15498602f4
Merge pull request #296 from cireu/fix-hash-opt-expander
...
Ensure `hash?` expander evaluates its arg only once.
7 years ago
citreu
bbf8016a78
Remove dependecy `cl-lib` in tests.
...
For compatability for Emacs 24.2 and 24.1
7 years ago
citreu
93e0465e0e
Remove dependecy `macroexp`
...
We need to support lower version since `macroexp-let2` was introduced at
Emacs 24.3
7 years ago
citreu
fd5980eace
Ensure `hash?` expander evaluates its arg only once.
7 years ago
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