11 lines
		
	
	
		
			378 B
		
	
	
	
		
			Factor
		
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			378 B
		
	
	
	
		
			Factor
		
	
	
| 
								 | 
							
								USING: help.markup help.syntax ;
							 | 
						||
| 
								 | 
							
								IN: math.primes.lists
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								HELP: lprimes
							 | 
						||
| 
								 | 
							
								{ $values { "list" "a lazy list" } }
							 | 
						||
| 
								 | 
							
								{ $description "Return a sorted list containing all the prime numbers." } ;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								HELP: lprimes-from
							 | 
						||
| 
								 | 
							
								{ $values { "n" "an integer" } { "list" "a lazy list" } }
							 | 
						||
| 
								 | 
							
								{ $description "Return a sorted list containing all the prime numbers greater or equal to " { $snippet "n" } "." } ;
							 |