fix
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -395,9 +395,7 @@
 | 
				
			|||||||
                         (define filtered (filter (lambda (x) (equal? (first type-list) x)) type-list))
 | 
					                         (define filtered (filter (lambda (x) (equal? (first type-list) x)) type-list))
 | 
				
			||||||
                         (define (check-all lst)
 | 
					                         (define (check-all lst)
 | 
				
			||||||
                           (type-case Type (first type-list)
 | 
					                           (type-case Type (first type-list)
 | 
				
			||||||
                             [(varT v t) (if (none? (unbox t))
 | 
					                             [(varT v t) (second type-list)]
 | 
				
			||||||
                                             (second type-list)
 | 
					 | 
				
			||||||
                                             (error 'typecheck "no type"))]
 | 
					 | 
				
			||||||
                             [else (error 'typecheck "no type")]))]
 | 
					                             [else (error 'typecheck "no type")]))]
 | 
				
			||||||
                        (if (equal? filtered type-list)
 | 
					                        (if (equal? filtered type-list)
 | 
				
			||||||
                            (listT (first type-list))
 | 
					                            (listT (first type-list))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user