User:Josiah425:Implementing Function Handles

From Octave
Jump to navigation Jump to search

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 ()