User:Josiah425:Implementing Function Handles: Difference between revisions

From Octave
Jump to navigation Jump to search
(Created page with " == Requirements == * Lazy vs eagerness ## lazy if function does not exist in scope, function remains lazy afterwards ## eager when function does exist in scope * Recognize c...")
 
 
Line 3: Line 3:


* Lazy vs eagerness
* Lazy vs eagerness
## lazy if function does not exist in scope, function remains lazy afterwards
# lazy if function does not exist in scope, function remains lazy afterwards
## eager when function does exist in scope
# eager when function does exist in scope
* Recognize class method vs function call
* Recognize class method vs function call
e.g. <code>s= @sin; s(cls_with_sin_method)</code> should call the appropriate method and not <code>sin ()</code>
e.g. <code>s= @sin; s(cls_with_sin_method)</code> should call the appropriate method and not <code>sin ()</code>
* [https://savannah.gnu.org/bugs/?47763 Bug #47763]
* [https://savannah.gnu.org/bugs/?47763 Bug #47763]

Latest revision as of 23:23, 31 August 2017

Requirements[edit]

  • Lazy vs eagerness
  1. lazy if function does not exist in scope, function remains lazy afterwards
  2. eager when function does exist in scope
  • Recognize class method vs function call

e.g. s= @sin; s(cls_with_sin_method) should call the appropriate method and not sin ()