File: CHANGELOG.md

package info (click to toggle)
ht-el 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124 kB
  • sloc: lisp: 451; makefile: 20
file content (124 lines) | stat: -rw-r--r-- 2,331 bytes parent folder | download
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
## v2.2

* Added `ht-select-keys`
* Added `ht-get*`

ht.el now uses `defsubst` for many of its functions, which may improve
performance in byte-compiled code.

## v2.1

* `ht<-alist` and `ht<-plist` gained an optional argument `test` to
specify the equality predicate.
* Added `ht-equal?`.

## v2.0 -- API Change

Functions names have been changed to be more explicit and consistent.

Note that ht.el includes aliases, so v2.0 is fully backwards
compatible.

Mutation functions now always end with `!`, and `ht-delete-if` has
been renamed for consistency with its non-mutating equivalent
`ht-reject`.

* `ht-set` -> `ht-set!`
* `ht-update` -> `ht-update!`
* `ht-remove` -> `ht-remove!`
* `ht-clear` -> `ht-clear!`
* `ht-delete-if` -> `ht-reject!`

Predicates now always end with `?`.

* `ht-p` -> `ht?`
* `ht-contains-p` -> `ht-contains?`

Conversion functions now use `<-` and `->`.

* `ht-to-alist` -> `ht->alist`
* `ht-to-plist` -> `ht->plist`
* `ht-from-alist` -> `ht<-alist`
* `ht-from-plist` -> `ht<-plist`

## v1.6

* Added `ht-reject` and `ht-select`
* Added `ht-delete-if`
* Added `ht-find`
* Added `ht-empty?` and `ht-size`

Also added Travis configuration.

## v1.5

* `ht-aeach` now evaluates to `nil` as it should (use `ht-amap` if you
  want the resulting hash table).

## v1.4

* Added `ht-merge`.

## v1.3

* Removed runtime dependency on `cl`.

## v1.2

* Fixed various `void-variable` crashes due to `ht-amap` only being
  declared after its usage.

## v1.1

* Added `ht-contains-p`.

## v1.0 -- API Change

* `ht-map` now returns a list, as you'd expect a map function to do.
* Added `ht-each` for when you're only interested in side-effects.
* Added an anaphoric version of `ht-each`, `ht-aeach`.

## v0.11

* Added `ht-map` and an anaphoric version `ht-amap`.

## v0.10

* Added `ht-p`, an alias of `hash-table-p`, (mainly for completeness).

## v0.9

* Added `ht-update`.

## v0.8

* Added the `ht` macro to make hash table literals easy

## v0.7

* Added `ht-to-alist` and `ht-to-plist`

## v0.6

* Fixed a bug where `ht-from-alist` would overwrite the latest key-value
  association with older ones

## v0.5

* Added `ht-from-plist`

## v0.4

* Added `ht-from-alist`

## v0.3

* Added ht-copy

## v0.2

* Changed functions from hm-* to ht-* (Emacs doesn't use the term hash map)

## v0.1

* Initial release