Robby Findler
32774924e2
tweak docs
2013-03-01 19:38:57 -06:00
Robby Findler
8013ccf60e
improvements to union find suggested by Sam and Danny
2013-01-29 19:02:57 -06:00
Robby Findler
33747ec9ab
added union-find to the data collection
2013-01-29 15:48:41 -06:00
Ryan Culpepper
810d07d8d5
added bit-vector <-> {string,list} operations
2012-12-16 22:29:43 -05:00
Ryan Culpepper
28f1d4ff5d
make argument order of heap-sort consistent with sort
...
Old order is also accepted for backwards compatibility.
2012-12-16 22:29:43 -05:00
Ryan Culpepper
462132515c
added gvector->list
...
closes PR 13370
2012-12-16 22:14:46 -05:00
Ryan Culpepper
dfc33f851f
add thread-unsafe warnings to data docs
...
closes PR 13367, closes PR 13369
2012-12-16 22:14:46 -05:00
Asumu Takikawa
2676beaa7c
Make integer-sets implement generic interfaces
...
Supports gen:stream, gen:equal+hash, gen:custom-write
2012-12-14 16:21:07 -05:00
Asumu Takikawa
891ee1b19e
Fix missing set-integer-set-contents!
...
Closes PR 13368
This was a MzScheme -> Racket transition issue. Also
added tests and fixed some docs as well.
2012-12-14 10:56:29 -05:00
Ryan Culpepper
e8ebb385f6
fixed doc bug
2012-12-01 11:17:13 -05:00
Jens Axel Søgaard
6e60fb0a1d
Fixed popcount name in docs
2012-11-28 23:14:52 +01:00
Jens Axel Søgaard
64f64a3607
Added bit-vector-count
2012-11-27 21:53:30 +01:00
Matthew Flatt
4ed45a6aef
data/bit-vector: some adjustments for consistency
...
Change `bit-vector-count' to `bit-vector-length', add arguments
to `bit-vector-copy', use `racket/private/vector-wraps' (which
should be moved to a public place) to implement things like
`for/bit-vector'.
2012-11-27 07:26:39 -07:00
Jens Axel Søgaard
028d14a877
Initial import of bit-vectors
2012-11-27 07:26:39 -07:00
Robby Findler
98633665b3
extend data/queue library
...
- add enqueue-front!
- add queue-filter!
- use the predicates instead of the /c contracts
- make queue-length take constant time
- add some random tests
- note the running times of all of the operations in the docs
- make queues be sequences directly (and use make-do-sequence
to implement in-queue instead of building a list)
- added non-empty-queue? (note extra hypen as compared
to the past; this seems better since the function
wasn't exported before and we already have other
functions named "non-empty-<something>" but not
others namedn "nonempty-<something>")
2012-11-21 11:10:02 -06:00
Eli Barzilay
14d8c8b5a5
Newlines at EOFs.
2012-11-06 14:07:15 -05:00
Danny Yoo
4901c6714e
documentation: correcting my broken example for heap-copy
2012-11-03 15:40:15 -06:00
Danny Yoo
6ab4085db3
documentation: adding data/heap examples
2012-11-03 15:36:11 -06:00
Danny Yoo
dcf4d8b040
adding close-eval at the end of scribble files that have a toplevel evaluator
2012-11-01 15:32:53 -06:00
Stephen Chang
19f88c0f80
add heap sequencing fns to data/heap
2012-10-27 21:09:29 -04:00
Asumu Takikawa
66e0564e25
Move mzlib/integet-set => data/integer-set
2012-07-20 16:00:47 -04:00
Asumu Takikawa
a22633e348
Rename generics => generic.
2012-05-24 16:51:14 -04:00
Asumu Takikawa
8ac82eaf58
Use simplified interface for define-generics
...
Also removed `generics`
2012-05-24 16:51:09 -04:00
Vincent St-Amour
3bfaa2b00b
New naming convention for generics names.
2012-05-24 16:51:07 -04:00
Vincent St-Amour
448ad27a37
Move generics to racket/generics.
...
After discussion with Eli.
2012-05-24 16:50:42 -04:00
Vincent St-Amour
a68242e4eb
Implement ordered dicts in terms of generics.
2012-05-24 16:31:32 -04:00
Danny Yoo
bbab60545e
adding gvector-remove-last!
2012-01-30 16:14:22 -07:00
Ryan Culpepper
933965b2c2
moved unstable/prop-contract into racket/contract/base
2011-12-18 13:57:50 -07:00
Ryan Culpepper
e2e63684de
data/order: added support for transparent structs, added tests
2011-10-30 18:51:16 -06:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Eli Barzilay
3f9bc25c5c
Remove `eval/require' and many of its one-time uses.
...
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Ryan Culpepper
5ca09eeb3e
document undocumented exports (data)
2011-04-25 22:18:00 -06:00
Jon Rafkind
5f2d18c1f9
add in-queue
2010-11-16 23:09:19 -07:00
Jon Rafkind
7b24eaf58e
rename queue-count to queue-length
2010-11-16 14:36:49 -07:00
Jon Rafkind
73be67942d
add queue->list
2010-11-16 14:36:49 -07:00
Jon Rafkind
58188ad0c6
add queue-count
2010-11-15 22:32:08 -07:00
Ryan Culpepper
0d76f8ecbf
added data/order, docs
...
changed splay-tree, skip-list constructors to take orders
2010-09-17 16:54:54 -06:00
Ryan Culpepper
076bba5ee9
restricted interval-map interface, simplified code, based on splay-trees
...
removed old, awful skip-list iteration-mutation procedures
updated skip-lists
2010-09-17 16:54:53 -06:00
Ryan Culpepper
1a03a47842
updated splay-tree & skip-list interfaces, docs, tests, performance tests
2010-09-16 13:20:07 -06:00
Ryan Culpepper
58aa6873fe
added data/heap tests
...
doc fixes
2010-09-14 12:31:26 -06:00
Ryan Culpepper
8b0810dc39
docs for data/heap
...
fixed contract in data/splay-tree
2010-09-14 12:31:26 -06:00
Ryan Culpepper
a9efe95fc5
splay tree docs
2010-09-13 13:21:04 -06:00
Ryan Culpepper
cf47297a07
gvector tests, fixed bugs, added for/gvector docs
2010-09-06 22:15:29 -06:00
Ryan Culpepper
c8292be1d1
data/gvector vararg constructor, add!
2010-09-06 22:15:29 -06:00
Ryan Culpepper
5a8d2f010e
added data/gvector, docs (need tests)
2010-09-06 22:15:29 -06:00
Sam Tobin-Hochstadt
0635fc6d75
Create data/ collection.
...
- Initially populated with queues, skip-lists, and interval-maps from unstable/
- Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00