| 
									
										
										
										
											2011-10-19 14:35:25 -04:00
										 |  |  | USING: help.markup help.syntax math sequences ;
 | 
					
						
							| 
									
										
										
										
											2010-02-27 00:27:40 -05:00
										 |  |  | IN: hash-sets | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ARTICLE: "hash-sets" "Hash sets" | 
					
						
							| 
									
										
										
										
											2010-03-30 01:10:39 -04:00
										 |  |  | "The " { $vocab-link "hash-sets" } " vocabulary implements hashtable-backed sets. Hash sets form a class:" | 
					
						
							| 
									
										
										
										
											2011-10-19 14:35:25 -04:00
										 |  |  | { $subsections hash-set } | 
					
						
							| 
									
										
										
										
											2010-03-30 01:10:39 -04:00
										 |  |  | "Constructing new hash sets:" | 
					
						
							| 
									
										
										
										
											2011-10-19 14:35:25 -04:00
										 |  |  | { $subsections <hash-set> >hash-set } | 
					
						
							| 
									
										
										
										
											2010-02-27 00:27:40 -05:00
										 |  |  | "The syntax for hash sets is described in " { $link "syntax-hash-sets" } "." ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ABOUT: "hash-sets" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | HELP: hash-set | 
					
						
							|  |  |  | { $class-description "The class of hashtable-based sets. These implement the " { $link "sets" } "." } ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | HELP: <hash-set> | 
					
						
							| 
									
										
										
										
											2011-10-19 14:35:25 -04:00
										 |  |  | { $values { "capacity" number } { "hash-set" hash-set } } | 
					
						
							|  |  |  | { $description "Creates a new hash set capable of storing " { $snippet "capacity" } " elements before growing." } ;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | HELP: >hash-set | 
					
						
							| 
									
										
										
										
											2010-02-27 00:27:40 -05:00
										 |  |  | { $values { "members" sequence } { "hash-set" hash-set } } | 
					
						
							|  |  |  | { $description "Creates a new hash set with the given members." } ;
 |