Skip to content

Callable integers #14

@mvirts

Description

@mvirts

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions