[Haskell-cafe] Trouble defining `instance Arrow SF'

David Barbour dmbarbour at gmail.com
Thu Oct 27 17:29:02 CEST 2011

On Thu, Oct 27, 2011 at 5:55 AM, Captain Freako <capn.freako at gmail.com>wrote:

> SF.hs:11:10: `>>>' is not a (visible) method of class `Arrow'
> Failed, modules loaded: none.

import Prelude hiding ((.),id)
import Control.Category

you'll also need to define `instance Category SF`, since that is a
requirement for Arrows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111027/96aad6a1/attachment.htm>

More information about the Haskell-Cafe mailing list