Ligustah
Joined: 21 Oct 2007 Posts: 45 Location: Berlin, Germany
|
Posted: Mon Jan 03, 2011 2:26 pm Post subject: "callable" constraint |
|
|
Hi,
i recently had the need to pass a callable type to a function and i thought it would be cool to have a "callable" type constraint, so the interpreter could do the opCall checking and whatever is needed to determine if a type is callable or not. I think that's useful in a lot of contexts.
Ligustah |
|