On Wed, Jul 6, 2011 at 6:04 AM, Markus Läll <[email protected]> wrote:

> Is it possible to define an Arrow instance of list to list functions?
>
> import Control.Arrow
> import Control.Category
>
> type X a b = [a] -> [b]
>

You need a newtype here. (->) is already an arrow.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to