-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.19Implemented in base-4.19 (GHC 9.8)Implemented in base-4.19 (GHC 9.8)
Description
Proposal: establish uniformity between ($)
and (&)
. They are currently out of sync (base-4.18
).
($) :: forall r a (b :: TYPE r). (a -> b) -> (a -> b)
(&) :: a -> (a -> b) -> b
I think when ($)
was generalized to its present form, (&)
was forgotten.
Proposal: change to
(&) :: forall r a (b :: TYPE r). a -> (a -> b) -> b
Note: #132 generalizes the type of ($)
even further, but @phadej thinks the same is not possible for (&)
:
Disclaimer: I'll probably won't make a MR myself.
konsumlamm, chessai, szumixie, j0xaf, rahulfromearth and 1 more
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.19Implemented in base-4.19 (GHC 9.8)Implemented in base-4.19 (GHC 9.8)