Open mvirts opened 2 years ago
Make integers callable Possible implement this with iterable integers and callable iterators
100(lambda x: print(f"hi {x}"))
could be equivalent to
`def call_int(int,arg_callable): for i in range(100): arg_callable(i)
usage like
10(10(lambda x:lambda y: print(x*y)))
could be interesting.
Make integers callable Possible implement this with iterable integers and callable iterators
100(lambda x: print(f"hi {x}"))
could be equivalent to
`def call_int(int,arg_callable): for i in range(100): arg_callable(i)
usage like
10(10(lambda x:lambda y: print(x*y)))
could be interesting.