-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
abandonedAbandoned by proposer (no-show)Abandoned by proposer (no-show)
Description
Hi,
Two functions from one of Yampa's auxiliary modules have become generally useful (they were made public and they have found use in games, other applications, and other libraries):
dup :: a -> (a, a)
dup x = (x, x)arr2 :: Arrow a => (b -> c -> d) -> a (b, c) d
arr2 = arr . uncurryWould you consider adding them to base?
I'd say the logical place for dup would be Data.Tuple and for arr2 would be Control.Arrow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
abandonedAbandoned by proposer (no-show)Abandoned by proposer (no-show)