mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	use unquotes instead
This commit is contained in:
		| @@ -675,10 +675,10 @@ | ||||
|         (def bl (in bindings i)) | ||||
|         (def br (in bindings (+ 1 i))) | ||||
|         (if (symbol? bl) | ||||
|           (tuple 'if (tuple 'def bl br) (aux (+ 2 i)) fal) | ||||
|           (tuple 'if (tuple 'def (def sym (gensym)) br) | ||||
|                  (tuple 'do (tuple 'def bl sym) (aux (+ 2 i))) | ||||
|                  fal))))) | ||||
|           ~(if (def ,bl ,br) ,(aux (+ 2 i)) ,fal) | ||||
|           ~(if (def ,(def sym (gensym)) ,br) | ||||
|              (do (def ,bl ,sym) ,(aux (+ 2 i))) | ||||
|              ,fal))))) | ||||
|   (aux 0)) | ||||
|  | ||||
| (defmacro when-let | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 primo-ppcg
					primo-ppcg