On Wed, 14 Jan 2015 21:54:52 -0800, yawar.amin wrote:
> Now, the crux of my message. I have implemented what I believe is a
> fairly robust, if ugly-looking, native Python module made up of
> combinator functions which compose together to form function expressions
> (well, callable expressions).
How about a demo?
I have a function, which I put into an expression like this:
def func(a, b=None):
global spam
import math
spam = [a, b]*3
print spam
del spam
value = [1, "hello", int, func]
del func
How would I use lambdak to write that as an expression
value = [1, "hello", int, ??????? ]
without the intermediate def?
--
Steve
--
https://mail.python.org/mailman/listinfo/python-list