Some return types can only be computed after a conforming function call #54

Open
opened 2022-08-30 19:42:57 +00:00 by glen · 0 comments
Owner

There are several examples in test/_pocomath.mjs.

The obstruction is that return-type information, which is in some cases critical for getting the correct answer, is stored on the (template instantiations of) implementations of an operation. Right now, those instantiations are only generated by an actual call to the operation.

The most obvious fix would simply be to change the code to generate implementations upon requests for return types as well. It seems like it would not be a major change.

There are several examples in `test/_pocomath.mjs`. The obstruction is that return-type information, which is in some cases critical for getting the correct answer, is stored on the (template instantiations of) implementations of an operation. Right now, those instantiations are only generated by an actual call to the operation. The most obvious fix would simply be to change the code to generate implementations upon requests for return types as well. It seems like it would not be a major change.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/pocomath#54
No description provided.