6 lines
		
	
	
		
			188 B
		
	
	
	
		
			Factor
		
	
	
		
		
			
		
	
	
			6 lines
		
	
	
		
			188 B
		
	
	
	
		
			Factor
		
	
	
| 
								 | 
							
								USING: lists.lazy.examples lists.lazy tools.test ;
							 | 
						||
| 
								 | 
							
								IN: lists.lazy.examples.tests
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[ { 1 3 5 7 } ] [ 4 odds ltake list>array ] unit-test
							 | 
						||
| 
								 | 
							
								[ { 0 1 4 9 16 } ] [ first-five-squares ] unit-test
							 |