mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix bug with false literals as keys not printing.
This commit is contained in:
		| @@ -602,7 +602,7 @@ in the same manner, and so on. Useful for expressing pipelines of data." | ||||
|  [x] | ||||
|  (def arr @[]) | ||||
|  (var k (next x nil)) | ||||
|  (while k | ||||
|  (while (not= nil k) | ||||
|   (array-push arr k) | ||||
|   (:= k (next x k))) | ||||
|  arr) | ||||
| @@ -612,7 +612,7 @@ in the same manner, and so on. Useful for expressing pipelines of data." | ||||
|  [x] | ||||
|  (def arr @[]) | ||||
|  (var k (next x nil)) | ||||
|  (while k | ||||
|  (while (not= nil k) | ||||
|   (array-push arr (get x k)) | ||||
|   (:= k (next x k))) | ||||
|  arr) | ||||
| @@ -622,7 +622,7 @@ in the same manner, and so on. Useful for expressing pipelines of data." | ||||
|  [x] | ||||
|  (def arr @[]) | ||||
|  (var k (next x nil)) | ||||
|  (while k | ||||
|  (while (not= nil k) | ||||
|   (array-push arr (tuple k (get x k))) | ||||
|   (:= k (next x k))) | ||||
|  arr) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose