Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.2K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Passing a pure fucntion

Posted 3 years ago

Note that f is a global. It evaluates correctly, but not if passed to findPt.

POSTED BY: David Golber
2 Replies
Posted 3 years ago

You are right: when I started with a clean kernel, I got what you got.
But I found that the following works. Note that g, x, and y are all locals, but passing g works.

POSTED BY: David Golber
Posted 3 years ago
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard