Magnar Sveen
2b69c146e4
Add dash.info and dash.texi to repo
11 years ago
Magnar Sveen
85307424cc
Add @wasamasa and @occidens to list of contributors
11 years ago
Magnar Sveen
81b808df6f
Ignore dash.elc
11 years ago
Magnar Sveen
51a07b103d
Merge pull request #127 from occidens/fixfn
...
Make `fixfn' more robust at handling floats
11 years ago
Magnar Sveen
1fde888498
Merge pull request #125 from wasamasa/feature-some
...
Add `-some`
11 years ago
William West
3992e3c506
Make `-fixfn' more robust at handling floats
...
This change addreses issue #123 . The two new optional parameters to
`-fixfn' allow the caller to specify a custom equality test function,
such as an approximate comparison of floats, and a halt test function,
which can trigger a halt to the fixpoint iteration if it fails to
converge.
The default equality test remains `equal'. The default halt test is a
simple counter up to `-fixfn-max-iterations'. The counter is provided by
the new function `-counter'.
The revised tests illustrate the usage of the new parameters.
11 years ago
William West
4640a2a51c
Allow for approx comparison of floats in tests
...
defexample entries may now include a symbol `~>' instead of `=>' which
uses an approximate comparison instead of `equal' to compare actual and
expected floating-point values.
Also, for completeness, add support for the `should-error' symbol `!!>' in
`examples-to-docs.el'. This is formatted as the comment ";; Error"
11 years ago
Vasilij Schneidermann
e574465edd
Add `-some`
...
This is a port of the CL function `some` and the Scheme function `any`
from SRFI-1. It is thought as addition to `-any?` (which returns a
boolean) and `-first` (which returns an element). Unlike these it
returns the first truthy value of applying the predicate on each list
item.
Resolves #122 .
11 years ago
Magnar Sveen
db784f817a
Merge pull request #124 from occidens/skiptests
...
Allow run-tests.sh to skip tests
11 years ago
William West
7d7a457c48
Allow run-tests.sh to skip tests
...
This change allows tests to be skipped for development purposes by
setting the environment variable `ERT_SELECTOR' to a valid ERT test
selector, e.g.:
ERT_SELECTOR='(not "-fixfn")' ./run-tests.sh
Refer to the docstrings for `ert-run-tests-batch-and-exit' and
`ert-select-tests' for details on how to compose test selectors.
11 years ago
Magnar Sveen
90056bd0f5
Merge pull request #121 from holomorph/master
...
Add dir entry to texinfo template
11 years ago
Mark Oteiza
7bd6b3bab9
Add dir entry to texinfo template
11 years ago
Magnar Sveen
349931eb5f
Add @holomorph to list of contributors
11 years ago
Magnar Sveen
733274fbb4
Merge pull request #120 from holomorph/info-manual
...
Add info manual
11 years ago
Mark Oteiza
4bd6273d86
Invoke makeinfo on the generated .texi
11 years ago
Mark Oteiza
3a3f528772
Add info manual
11 years ago
Magnar Sveen
0ef7384c00
Merge pull request #114 from fbergroth/update-test-case
...
Update error tests
11 years ago
Fredrik Bergroth
c34e4abb7d
Update invalid tests
11 years ago
Fredrik Bergroth
7d62b1a127
Make test suite independent of dash
11 years ago
Fredrik Bergroth
07f0358862
Add test case operator !!> for expected errors
11 years ago
Fredrik Bergroth
92ed7ff384
Use vendored ert only on emacs23
11 years ago
Magnar Sveen
26c1bbe371
Merge pull request #113 from fbergroth/fix-byte-compile-test
...
Fix byte compilation test
11 years ago
Fredrik Bergroth
1ccd2b45b2
Improve byte compilation test
11 years ago
Magnar Sveen
afe27810c4
Merge pull request #109 from bbatsov/threading-indentation
...
[Fix #108 ] Sync indentation of threading forms with Clojure
11 years ago
Magnar Sveen
5f879b3d58
Merge pull request #110 from bbatsov/comment-fix
...
Don't use an inline comment on a line of its own
11 years ago
Bozhidar Batsov
2eefbeccbf
Don't use an inline comment on a line of its own
11 years ago
Bozhidar Batsov
9642c4ada5
[ Fix #108 ] Sync indentation of threading forms with Clojure
11 years ago
Magnar Sveen
dab0d1c6c5
Merge pull request #107 from fbergroth/workaround-byte-compiler
...
Work around byte compiler
11 years ago
Fredrik Bergroth
c40fa44686
Exclude byte compilation test on emacs23
11 years ago
Fredrik Bergroth
a06e66efb1
Add test for clean byte compilation
11 years ago
Fredrik Bergroth
b7c2f9a154
Work around byte compiler in -if-let*
...
Closes #106
11 years ago
Fredrik Bergroth
8d2227df36
Silence unused variable warning in -table
...
Fixes #98
11 years ago
Magnar Sveen
faeb61a0b8
Merge pull request #105 from fbergroth/debug-forms
...
Update debug forms
11 years ago
Fredrik Bergroth
47e11aed61
Update docs
...
Binding behaves like -let* rather than -let.
11 years ago
Fredrik Bergroth
c134705f2a
Fix compile warning
11 years ago
Fredrik Bergroth
38ef86e0bd
Update debug forms for -if-let and -when-let
11 years ago
Magnar Sveen
446c522633
Release 2.10.0
11 years ago
Magnar Sveen
d459b49f4c
Fix typo
11 years ago
Matus Goljer
5e9c1a9ce3
Add Fredrik Bergroth to the list of contributors
11 years ago
Matus Goljer
c09c0f667b
Merge branch 'more-destructuring' ( #103 ) of https://github.com/fbergroth/dash.el
11 years ago
Matus Goljer
d0c6fc06f8
Merge pull request #104 from fbergroth/linkify-docs
...
Linkify docs
11 years ago
Fredrik Bergroth
c7b4cffa90
Update readme.md
11 years ago
Fredrik Bergroth
0c045f2d3c
Highlight with el instead of cl
11 years ago
Fredrik Bergroth
63fa64f755
Add links to references in readme
11 years ago
Fredrik Bergroth
8707aafd96
Update docs
11 years ago
Fredrik Bergroth
549bfd3a15
Reorder macros to make sure they are declared before being used
11 years ago
Fredrik Bergroth
3bdf60b2a4
Add some examples
11 years ago
Fredrik Bergroth
03b98ca5a9
Make -if-let and -when-let families destructure their arguments
11 years ago
Magnar Sveen
75d29a2680
Declare --iterate macro before using it. #102
11 years ago
Magnar Sveen
4b63be1dce
Declare --mapcat macro before using it. #102
11 years ago