What is the meaning of lam@ in ATS? -


sometimes, see code following:

var foo = lam@(x: int): int => ... 

what meaning of lam@? difference between lam , lam@?

memory-wise, lam creates boxed closure (if closure), , allocates on heap. lam@ creates flat closure, , allocates on stack frame. see official tutorial reference.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -