Partially applied functions should be able to take arguments immediately #51

Closed
opened 2024-05-24 14:24:05 +00:00 by scott · 1 comment
Owner

At issue: div (_, 2) (6)
Expected: 3
Received: (6)

At issue: `div (_, 2) (6)` Expected: `3` Received: `(6)`
scott added the
bug
label 2024-05-24 14:24:10 +00:00
scott added this to the 0.2.0 milestone 2024-05-24 14:24:14 +00:00
scott modified the milestone from 0.2.0 to Computer Class 2024-05-24 14:24:20 +00:00
scott self-assigned this 2024-05-24 14:24:28 +00:00
scott modified the milestone from Computer Class to 0.2.0 2024-05-31 17:04:48 +00:00
scott modified the milestone from 0.2.0 to Computer Class 2024-05-31 17:15:07 +00:00
Author
Owner

This was either solved in my approach to giving partially applied functions better names, OR was not an issue at all; one snafu here is that base builtin functions may not be partially applied. So I may have been trying to partially apply add rather than a Ludus-defined fn myadd (x, y) -> add (x, y). In any event, it works now.

This was either solved in my approach to giving partially applied functions better names, OR was not an issue at all; one snafu here is that `base` builtin functions may *not* be partially applied. So I may have been trying to partially apply `add` rather than a Ludus-defined `fn myadd (x, y) -> add (x, y)`. In any event, it works now.
scott closed this issue 2024-06-04 20:09:29 +00:00
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: twc/ludus#51
No description provided.