[Haskell-cafe] flip1 through flip9, useful?
tonymorris at gmail.com
Wed Jan 15 10:48:51 UTC 2014
Indeed! I offered the question as a coaching exercise :)
On 15/01/14 19:56, Tom Ellis wrote:
> On Tue, Jan 14, 2014 at 04:57:14PM +1000, Tony Morris wrote:
>> Why not generalise to any functor?
>> let flip f a = fmap ($a) f
> FYI, this is Control.Lens.??
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe