mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-29 06:37:41 +00:00 
			
		
		
		
	Update lazyseq example.
This commit is contained in:
		| @@ -35,7 +35,8 @@ that was memoized." | ||||
| (defn cons  | ||||
|  "Create a new sequence by prepending a value to the original sequence." | ||||
|  [h t] | ||||
|  (delay (tuple h t))) | ||||
|  (def x (tuple h t)) | ||||
|  (fn [] x)) | ||||
|  | ||||
| (defn empty?  | ||||
|  "Check if a sequence is empty." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose