Package set.plt contributed by dherman [docs]
To load: (require (planet dherman/set:5:0))
Old style:(require (planet "main.ss" ("dherman" "set.plt" 5 0)))
Min Racket version: 4.1
Package description:
A functional set implementation.
Downloads this week: 0
Total downloads: 1160
Tickets:3
Open tickets:2
Primary files:
[no interface available]
 Current version
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(5 0)3
42
4.12009-11-08
To load: (require (planet dherman/set:5:0))
Available in repositories: 4.x
  • Sets now override equal? and the hash-code operations. For example, (equal? (list->set '(1 2 3)) (list->set (3 2 1))) is now #t.
  • The behavior may not be quite right yet for circular data structures involving sets.
 Open tickets
[All Tickets] [New Ticket]
Ticket IdOwnerReporterTypeVersion
5dhermandhermanenhancement--
API requests
31dhermandhermanenhancement
make sets sequences

 Old versions
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(4 0)2
128
4.12009-05-12
To load: (require (planet "main.ss" ("dherman" "set.plt" 4 (= 0))))
Available in repositories: 4.x
  • Changed naming convention: most operations have a set- or seteq- prefix now, which is more consistent with Scheme conventions and obviates the need for requiring the modules with a prefix.
  • Added a default main.ss module, which exports everything.
  • Added set-count operation. Thanks to Jay McCarthy for the suggestion.
  • Added in-set operation; also sets are now sequences.
  • Created Scribble docs.
  • Documented a few more previously-undocumented operations.
(3 0)1
961
3.992008-04-21
To load: (require (planet "set.ss" ("dherman" "set.plt" 3 (= 0))))
Available in repositories: 4.x, 3xx

Improved implementation, added partition and partitions operations.

Also, the printed representation of sets now prints the set contents.

(2 0)1
14
3.992008-04-18
To load: (require (planet "set.ss" ("dherman" "set.plt" 2 (= 0))))
Available in repositories: 4.x, 3xx

Added operations empty?, adjoin, add, contains? and special forms for/set and for*/set.

(1 0)1
15
3.992008-04-17
To load: (require (planet "set.ss" ("dherman" "set.plt" 1 (= 0))))
Available in repositories: 3xx, 4.x

Initial release.