Export cons* from SRFI 1.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
		
							parent
							
								
									24b4cafe65
								
							
						
					
					
						commit
						aa2e11874f
					
				|  | @ -42,7 +42,7 @@ | ||||||
|             (rec (- count 1) |             (rec (- count 1) | ||||||
|                  (cons (+ start (* count step)) acc)))))) |                  (cons (+ start (* count step)) acc)))))) | ||||||
| 
 | 
 | ||||||
|   (export cons list xcons make-list list-tabulate list-copy circular-list iota) |   (export cons list xcons cons* make-list list-tabulate list-copy circular-list iota) | ||||||
| 
 | 
 | ||||||
|   ;; # Predicates |   ;; # Predicates | ||||||
|   ;; pair? null? |   ;; pair? null? | ||||||
|  |  | ||||||
|  | @ -40,8 +40,8 @@ | ||||||
| 
 | 
 | ||||||
| (test '(a b c) (xcons '(b c) 'a)) | (test '(a b c) (xcons '(b c) 'a)) | ||||||
| 
 | 
 | ||||||
| ; (test '(1 2 3 . 4) (cons* 1 2 3 4)) | (test '(1 2 3 . 4) (cons* 1 2 3 4)) | ||||||
| ; (test 1 (cons* 1)) | (test 1 (cons* 1)) | ||||||
| 
 | 
 | ||||||
| (test '(c c c c) (make-list 4 'c)) | (test '(c c c c) (make-list 4 'c)) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 OGINO Masanori
						OGINO Masanori