Author Topic: Lambda Function Feedback  (Read 916 times)


  • Member
  • ****
  • Posts: 799
    • Uasm
Lambda Function Feedback
« on: August 14, 2018, 06:16:52 PM »

I've recently come into some spare-time, haha.. so will be working on finishing off 2.47 and 2.48 releases which will include plt/got support and a few other fixes still pending.
I was thinking adding support for lambda style functions might be nice, they could work something along these lines:

Code: [Select]

SomeFunction PROTO pHandler:PTR


invoke SomeFunction, ADDR aHander  ; This would be the traditional way to pass a handler/callback to another function.


with C-style calling we have:

SomeFunction(&aHandler) ; Possible now..


As an extension to this...

SomeFunction( (arg1:BYTE, arg2:DWORD) => {
   ; handler code...

Just a thought.. if anyone has any ideas about this.


  • Member
  • ****
  • Posts: 649
Re: Lambda Function Feedback
« Reply #1 on: August 14, 2018, 09:49:51 PM »
Hi johnsa,

I think its a really cool idea  :P, C++ Lambdas Under The Hood