|
|
|
|
|
by eyelidlessness
464 days ago
|
|
I don’t know enough about Gleam’s implementation to say how applicable this is, but from a more general language design perspective… a keyword isn’t inherently imbued with special capabilities that a function call wouldn’t be. They’re semantically interchangeable for this use case, if the function can access requisite information about the underlying stack. I’m not sure it’s possible to extrapolate any lessons for Python from this Gleam language feature or the chosen syntax. |
|