News for hackers. Stuff that matters.
Re:Coconut – Pythonic functional programming language by zardeh on Friday June 24, 2016 @12:58PM (#11971444)
Well sure, you could do something like

    def apply_ctx(ctx, func, *func_args, **func_kwargs):
        with ctx as __ctx:
            func(*func_args, **func_kwargs, ctx=__ctx)
but you can't do that itself as a lambda. And I consider modifying the ast cheating :P
Re:Coconut – Pythonic functional programming language by masklinn on Friday June 24, 2016 @03:11PM (#11972561)
> but you can't do that itself as a lambda. And I consider modifying the ast cheating :P

No disagreement, really depends whether you're a "rules" or "spirit" kind of person though.