6 Jul
2011
6 Jul
'11
4:21 p.m.
On Wed, Jul 6, 2011 at 6:04 AM, Markus Läll <markus.l2ll@gmail.com> 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.