[Haskell-cafe] hoogle - find functions as arrows?

Gregory Guthrie guthrie at mum.edu
Mon Jan 27 05:07:14 UTC 2014


I was surprised that a Hoogle search for:
      (a -> b) -> (a -> c) -> a -> (b, c)
      No results found
Didn't find this:
(&&&)<http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-Arrow.html#v:-38--38--38-> :: Arrow a => a b c -> a b c' -> a b (c, c')<http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-Arrow.html#v:-38--38--38->

Since functions are arrows; yes?
I suppose I can see why it might not, but it seems that it would be nice if it did.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140126/9b2ab2df/attachment.html>


More information about the Haskell-Cafe mailing list