User:Josiah425:Implementing Function Handles

From Octave
Revision as of 16:23, 31 August 2017 by Josiah425 (talk | contribs) (→‎Requirements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requirements

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