User:Josiah425:Implementing Function Handles

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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