Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#7817 closed feature request (fixed)

Moving basic functions

Reported by: quchen Owned by:
Priority: normal Milestone: 7.8.1
Component: libraries/base Version: 7.6.2
Keywords: report-impact Cc: hvr, ekmett
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

1. Add the infixl 4 operator ($>) = flip (<$) to Data.Functor.

2. Move Control.Monad.void to Data.Functor, and re-export it from Control.Monad for compatibility. In addition, replace the deprecated Foreign.Marshal.Error.void with a re-export as well.

The mailing list discussion is here: http://markmail.org/message/cqdlle4l6npxs3jn

Change History (3)

comment:1 Changed 6 years ago by igloo

difficulty: Unknown
Milestone: 7.8.1
Status: newpatch

comment:2 Changed 6 years ago by igloo

Resolution: fixed
Status: patchclosed
commit 6402f8d294db347357436321965d9b6024e02984
Author: Ian Lynagh <ian@well-typed.com>
Date:   Sun Apr 21 21:46:07 2013 +0100

    Add some more Data.Functor functions; fixes #7817

    Added infixl4 $>.
    Re-exported void from Data.Functor.
    Also defined the fixity for <$ for non-GHC impls.

I didn't make Foreign.Marshal.Error re-export void, as we don't have a way to deprecate re-exports.

comment:3 Changed 4 years ago by hvr

Cc: hvr ekmett added
Keywords: report-impact added
Note: See TracTickets for help on using tickets.