Prelude functions should be conventionally "data first" #80
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#80
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I need to have a convention; it might as well be "data first," even though we don't have currying.
So
at (xs, idx)
,contains? (xs, val)
,slice (xs, idx)
, etc.Done, as of a few commits ago.
The exception to this are the three (well, four) functional iteration functions,
fold
,foldr
,map
, andfilter
, which are function-first. Which makes a certain amount of sense. Not going to change them now.