One million lambda expressions
- 
				Kazimir Majorinc
 - Posts: 388
 - Joined: Thu May 08, 2008 1:24 am
 - Location: Croatia
 - Contact:
 
Re: One million lambda expressions
OMG!!!!!!!!!
Are they dynamically created?! Automatically generated?!
Simply amazing and crazy!
			
			
									
									Are they dynamically created?! Automatically generated?!
Simply amazing and crazy!
--
						- 
				Kazimir Majorinc
 - Posts: 388
 - Joined: Thu May 08, 2008 1:24 am
 - Location: Croatia
 - Contact:
 
Re: One million lambda expressions
Thanx, yes, these are generated. I have lot of functions needed for generation and reduction of lambda-expressions in my library. Here is the simple program for demonstration. 
			
			
									
									
						Code: Select all
(setf [print.supressed] true [println.supressed] true)
(load "http://instprog.com/Instprog.default-library.lsp")
(setf [print.supressed] nil [println.supressed] nil)
(for(i 1 1000000000 12345679)
  (setf lexpr (lam i "xyz"))
  (println "\n" i ". " lexpr "\n")
  (reduce^ lexpr 33 true)
  (println)
  (---))
  
(exit)Re: One million lambda expressions
Fantastic!!! .. So Simply and so effective...
Love your Blog btw..great readings..!
			
			
									
									Love your Blog btw..great readings..!
-- (define? (Cornflakes))